2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-14 11:15:26 +00:00

Improvements for profile management

This commit is contained in:
Oliver Walters
2022-05-22 09:29:04 +10:00
parent 4e14bd077c
commit 53b69d9623
2 changed files with 32 additions and 7 deletions

View File

@ -41,6 +41,10 @@ void main() {
await UserProfileDBManager().updateProfile(prf);
}
// Ensure the profile is selected
assert(! await UserProfileDBManager().selectProfileByName("Missing Profile"));
assert(await UserProfileDBManager().selectProfileByName("Test Profile"));
});
group("Login Tests:", () {