mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Add genhtml step
This commit is contained in:
parent
237a7da54a
commit
6ef95499b7
4 changed files with 80 additions and 87 deletions
21
test/preferences_test.dart
Normal file
21
test/preferences_test.dart
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Unit tests for the preferences manager
|
||||
*/
|
||||
|
||||
import "package:test/test.dart";
|
||||
import "package:inventree/preferences.dart";
|
||||
|
||||
void main() {
|
||||
|
||||
setUp(() async {
|
||||
|
||||
});
|
||||
|
||||
group("Settings Tests:", () {
|
||||
test("Default Values", () async {
|
||||
// Boolean values
|
||||
expect(await InvenTreeSettingsManager().getBool("test", false), equals(false));
|
||||
expect(await InvenTreeSettingsManager().getBool("test", true), equals(true));
|
||||
});
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue