Fix unit tests in CI (#895)

* use demo data rather than simple fixtures

* Remove admin creation in CI

* Adjust unit tests

* Remove token data from debug log
This commit is contained in:
Oliver authored and GitHub committed 2026-10-21 00:48:28 +11:00
1 parent 23abf50145
commit 7554bbdfa2
6 files changed
+53 -34

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ void setupTestEnv() {
// Accessors for default testing values
const String testServerAddress = "http://localhost:8000/";
const String testServerName = "Test Server";
const String testUsername = "testuser";
const String testPassword = "testpassword";
const String testUsername = "admin";
const String testPassword = "inventree";
/*
* Request an API token for the given profile