From 319f22f26e86aa5feec340436e579420a15a84cb Mon Sep 17 00:00:00 2001 From: czlonkowski <56956555+czlonkowski@users.noreply.github.com> Date: Sun, 14 Sep 2025 18:01:46 +0200 Subject: [PATCH] fix: set totalViews > 10 in integration tests to pass quality filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed totalViews from 0 to 100 for all test templates - Templates with ≤10 views are filtered out by quality check - This ensures test templates are saved and searchable All integration tests now passing --- tests/integration/database-integration.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/database-integration.test.ts b/tests/integration/database-integration.test.ts index 26ae49c..0c3fbd2 100644 --- a/tests/integration/database-integration.test.ts +++ b/tests/integration/database-integration.test.ts @@ -57,7 +57,7 @@ describe('Database Integration Tests', () => { ], user: { id: 1, name: 'Test User', username: 'testuser', verified: false }, createdAt: new Date().toISOString(), - totalViews: 0 + totalViews: 100 }, { id: 101, @@ -70,7 +70,7 @@ describe('Database Integration Tests', () => { ], user: { id: 1, name: 'Test User', username: 'testuser', verified: false }, createdAt: new Date().toISOString(), - totalViews: 0 + totalViews: 100 }, { id: 102, @@ -85,7 +85,7 @@ describe('Database Integration Tests', () => { ], user: { id: 1, name: 'Test User', username: 'testuser', verified: false }, createdAt: new Date().toISOString(), - totalViews: 0 + totalViews: 100 } ]); });