mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 09:51:13 -05:00
Fix imports and test flow
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Tests auth flows, MFA enforcement, role checks, and session management.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
|
||||
export const authTestSuite: TestSuite = {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests database constraints, RLS policies, and data integrity rules.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
import { TestDataTracker } from '../TestDataTracker';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for edge function authentication, authorization, and functionality.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
|
||||
export const edgeFunctionTestSuite: TestSuite = {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for handling complex submission dependencies
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
|
||||
export const moderationDependencyTestSuite: TestSuite = {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for submission locking, claiming, extending, and release mechanisms
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
|
||||
export const moderationLockTestSuite: TestSuite = {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for moderation queue operations, locking, and state management.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
|
||||
export const moderationTestSuite: TestSuite = {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for system performance under various conditions.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
import { TestDataTracker } from '../TestDataTracker';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for submission validation, schema validation, and entity creation.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
import { TestDataTracker } from '../TestDataTracker';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Tests for metric storage and display unit conversion.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
import { TestDataTracker } from '../TestDataTracker';
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* version creation, attribution, and rollback functionality.
|
||||
*/
|
||||
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
import { supabase } from '@/lib/supabaseClient';
|
||||
import type { TestSuite, TestResult } from '../testRunner';
|
||||
import { TestDataTracker } from '../TestDataTracker';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user