mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Sentry fix (#395)
* Extra sentry diagnostics * Fix unit test * Unit test updates * More unit test updates
This commit is contained in:
parent
6fe23fa846
commit
2babf27db5
6 changed files with 19 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue