From a2d3eac077fffe78f1e143e87961240c1a16bbd7 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Wed, 15 Jan 2025 15:18:39 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20du=20test=20de=20cr=C3=A9ation=20?= =?UTF-8?q?et=20de=20destruction=20de=20projet=20dans=20dbTester?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/dbTester.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test/dbTester.js b/test/dbTester.js index e395339..4c37eaa 100644 --- a/test/dbTester.js +++ b/test/dbTester.js @@ -7,21 +7,6 @@ async function printProjects() { 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 { printProjects(); } catch (error) {