avancée sur benevoleDemandesEnCoursPage
Some checks are pending
Java CI with Maven / build (push) Waiting to run
Some checks are pending
Java CI with Maven / build (push) Waiting to run
This commit is contained in:
parent
8cfcafe471
commit
993f9f202b
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -93,7 +93,7 @@ class BenevoleDemandesEncoursPageTest {
|
||||||
String testUserNom = "Test Mc Testy";
|
String testUserNom = "Test Mc Testy";
|
||||||
String testUserEmail = "test@example.com";
|
String testUserEmail = "test@example.com";
|
||||||
String testUserRole = "benevole"; // l'utilisateur de test doit être un bénévole pour pouvoir tester la méthode
|
String testUserRole = "benevole"; // l'utilisateur de test doit être un bénévole pour pouvoir tester la méthode
|
||||||
String insertSQL0 = "INSERT INTO utilisateur (nom, mail, role) VALUES (?, ?, ?)";
|
String insertSQL0 = "INSERT INTO utilisateur (nom, email, role) VALUES (?, ?, ?)";
|
||||||
PreparedStatement insertStatement0 = connection.prepareStatement(insertSQL0, PreparedStatement.RETURN_GENERATED_KEYS);
|
PreparedStatement insertStatement0 = connection.prepareStatement(insertSQL0, PreparedStatement.RETURN_GENERATED_KEYS);
|
||||||
insertStatement0.setString(1, testUserNom);
|
insertStatement0.setString(1, testUserNom);
|
||||||
insertStatement0.setString(2, testUserEmail);
|
insertStatement0.setString(2, testUserEmail);
|
||||||
|
|
Loading…
Reference in a new issue