FRE-588: Complete tRPC/Clerk integration with database schema updates
- Updated router.ts middleware for Clerk authentication - Modified test contexts to use clerkUserId - Added team tables to test schema - Updated WaitlistForm and waitlist page - Created src/server/trpc/ parallel structure All 258 tests pass. Ready for Security Reviewer.
This commit is contained in:
@@ -12,7 +12,7 @@ describe('revisionsRouter', () => {
|
||||
await resetTestDb();
|
||||
const db = await getTestDb();
|
||||
await resetInMemoryState(db);
|
||||
ctx = { userId: 1, db };
|
||||
ctx = { clerkUserId: 'user_test', db };
|
||||
caller = appRouter.createCaller(ctx);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user