mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 18:25:26 +00:00
Add genhtml step
This commit is contained in:
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));
|
||||
});
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user