fix: remove redundant getTestUserID call in TestKoboInitialization

The TestKoboInitialization test was calling getTestUserID() explicitly
on line 25, but loginTestUser() already calls this internally. This caused
the test user to be deleted and recreated after login, leading to
inconsistent state and HTTP 500 errors when creating libraries.

After removing the redundant call:
- TestKoboInitialization now passes
- All Kobo sync tests pass successfully
This commit is contained in:
2026-02-10 18:15:28 -05:00
parent 7e7945fbb7
commit 7dcc70b448
-1
View File
@@ -22,7 +22,6 @@ func TestKoboInitialization(t *testing.T) {
setup := setupTestServer(t)
token := loginTestUser(t, setup.Server, setup.DB)
_ = getTestUserID(t, setup.DB)
_ = createTestMediaItemID(t, setup.Server, token)
log.Printf("[DEBUG] Kobo test setup: creating device and media")