Merge pull request #32 from internship-humic/feat/notification-system

feat: nambahin link field di Notification
This commit is contained in:
Rafi Athallah
2026-07-06 21:10:25 +07:00
committed by GitHub
7 changed files with 24 additions and 9 deletions
+5 -2
View File
@@ -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 = '';