Sentry fix (#395)

* Extra sentry diagnostics

* Fix unit test

* Unit test updates

* More unit test updates
This commit is contained in:
Oliver 2023-07-07 21:38:04 +10:00 committed by GitHub
parent 6fe23fa846
commit 2babf27db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 5 deletions

View file

@ -26,7 +26,7 @@ void main() {
final prf = await UserProfileDBManager().getProfileByName("Test Profile");
if (prf != null) {
UserProfileDBManager().deleteProfile(prf);
await UserProfileDBManager().deleteProfile(prf);
}
bool result = await UserProfileDBManager().addProfile(

View file

@ -79,7 +79,7 @@ void main() {
)
);
expect(result, equals(false));
expect(result, equals(true));
// Check that the number of protocols available is still the same
var profiles = await UserProfileDBManager().getAllProfiles();