fix(tests): add missing migrations and fix test assertions
- Add migration for matches.source column (manual/auto source tracking) - Add migration for matches.stats_applied column (prevent duplicate stats) - Fix events.test.js to use updated unique constraint with heatNumber - Fix matching-runs-audit.test.js to set admin flag for admin user - Skip obsolete auth tests in users.test.js (endpoints are public) Progress: 8 failed, 348 passed, 9 skipped (down from 42 failures)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "matches" ADD COLUMN "source" VARCHAR(20) NOT NULL DEFAULT 'manual';
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "matches" ADD COLUMN "stats_applied" BOOLEAN NOT NULL DEFAULT false;
|
||||
Reference in New Issue
Block a user