test: remove invalid null check
This commit is contained in:
@@ -20,9 +20,5 @@ Future<Database> setup_database_connection() async {
|
||||
jadbPath: jadb_path,
|
||||
);
|
||||
|
||||
if (db_connection == null) {
|
||||
throw Exception("Failed to open database");
|
||||
}
|
||||
|
||||
return db_connection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user