Début système de contexte + Ajout commande SignupRule.java

This commit is contained in:
Maximilien LEDOUX
2022-03-10 18:41:52 +01:00
parent 826ef9e2e4
commit 9326b09d0c
13 changed files with 186 additions and 39 deletions

View File

@@ -29,7 +29,7 @@ public class JsonAdapterTests {
files.put(file1.getName(), file1);
User user1 = new User("User1", "Password", "djdjjdj", files);
appData.setAppConfig(appConfig);
appData.addUser(user1);
//appData.addUser(user1);
JsonAdapter jsonAdapter = new JsonAdapter(appData);
//WHEN the adapter converts AppData to Json
String jsonAppData = jsonAdapter.toString();

View File

@@ -45,7 +45,7 @@ public class RepositoryTests {
files.put(file1.getName(), file1);
User user1 = new User("User1", "Password", "djdjjdj", files);
appData.setAppConfig(appConfig);
appData.addUser(user1);
//appData.addUser(user1);
JsonAdapter jsonAdapter = new JsonAdapter(appData);
//WHEN Repository calls save method
String filePath = "src/test/resources/test.json";