mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-14 11:15:26 +00:00
Sentry fix (#395)
* Extra sentry diagnostics * Fix unit test * Unit test updates * More unit test updates
This commit is contained in:
@ -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(
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user