Updated tests to use migrations for db init for consistency

This commit is contained in:
2025-02-20 20:26:26 +11:00
parent b238a3efa7
commit 4b64dccbda
9 changed files with 82 additions and 58 deletions

3
tests/testdata.sql Normal file
View File

@@ -0,0 +1,3 @@
INSERT INTO users VALUES(1,'testuser','hashedpassword',1738995274, 'bio');
INSERT INTO jwtblacklist VALUES('0a6b338e-930a-43fe-8f70-1a6daed256fa', 33299675344);
INSERT INTO jwtblacklist VALUES('b7fa51dc-8532-42e1-8756-5d25bfb2003a', 33299675344);