Suppression du test de création et de destruction de projet dans dbTester

This commit is contained in:
2025-01-15 15:18:39 +01:00
parent d9a262196c
commit a2d3eac077

View File

@@ -7,21 +7,6 @@ async function printProjects() {
console.log('Projects:', projects); console.log('Projects:', projects);
} }
async function testCreateDestroyProject() {
const project = await databaseUtils.addProject('Test project', 'This is a test project');
console.log('Project added:', project);
await printProjects();
await databaseUtils.deleteProject(project.id);
await printProjects();
}
try {
testCreateDestroyProject();
} catch (error) {
console.error('Error:', error);
}
try { try {
printProjects(); printProjects();
} catch (error) { } catch (error) {