From 26618cc06d3724044e9a2f5e52a69d13bfa9bd97 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 20 Jun 2025 23:01:33 +0200 Subject: [PATCH] test: remove invalid null check --- test/search/setup_database_connection.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/search/setup_database_connection.dart b/test/search/setup_database_connection.dart index c52477b..9f8d077 100644 --- a/test/search/setup_database_connection.dart +++ b/test/search/setup_database_connection.dart @@ -20,9 +20,5 @@ Future setup_database_connection() async { jadbPath: jadb_path, ); - if (db_connection == null) { - throw Exception("Failed to open database"); - } - return db_connection; }