diff --git a/test/user_profile_test.dart b/test/user_profile_test.dart index 5de1043e..9b672ad5 100644 --- a/test/user_profile_test.dart +++ b/test/user_profile_test.dart @@ -15,7 +15,7 @@ void main() { var profiles = await UserProfileDBManager().getAllProfiles(); for (var prf in profiles) { - UserProfileDBManager().deleteProfile(prf); + await UserProfileDBManager().deleteProfile(prf); } // Check that there are *no* profiles in the database