Merge pull request #32 from internship-humic/feat/notification-system
feat: nambahin link field di Notification
This commit is contained in:
@@ -7,11 +7,14 @@ const BASE_URL = 'http://localhost:9000';
|
||||
async function runTests() {
|
||||
console.log('=== STARTING INTEGRATION TESTS FOR NOTIFICATION SYSTEM ===\n');
|
||||
|
||||
// 0. Clean up existing memberships for rafi@student.com (user ID 1) to allow project assignment
|
||||
console.log('0. Cleaning up existing project memberships for rafi@student.com...');
|
||||
// 0. Clean up existing memberships and notifications for rafi@student.com (user ID 1)
|
||||
console.log('0. Cleaning up existing project memberships and notifications for rafi@student.com...');
|
||||
await prisma.projectMember.deleteMany({
|
||||
where: { id_user: 1 }
|
||||
});
|
||||
await prisma.notification.deleteMany({
|
||||
where: { id_user: 1 }
|
||||
});
|
||||
console.log(' Cleanup successful!\n');
|
||||
|
||||
let adminToken = '';
|
||||
|
||||
Reference in New Issue
Block a user