Skip to content

Commit

Permalink
Merge pull request #346 from moreTriangles/master
Browse files Browse the repository at this point in the history
Update test case and move test case file
  • Loading branch information
adamozh authored Nov 8, 2021
2 parents e046a8f + 9770315 commit 0756b4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"person": {
"name": "Cheong Yee Ming",
"telegram": "iamym",
"github": "invalid----",
"person" : {
"name" : "Cheong Yee Ming",
"telegram" : "iamym",
"github" : "invalid----",
"phone" : null,
"email" : null,
"address" : null,
"tagged" : [ ],
"isFavourite" : false,
"isFavorite" : false,
"gitStats" : null,
"image" : null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void saveUserProfile_wrongPath_success() {

@Test
public void saveUserProfile_invalidFile_success() {
Path profileFilePath = getFilePath("invalidUserProfile.json");
Path profileFilePath = TEST_DATA_FOLDER.resolve("invalidUserProfile.json");
JsonUserProfileStorage userProfileStorage = new JsonUserProfileStorage(profileFilePath);
Optional<JsonSerializableUserProfile> userProfile;
try {
Expand Down

0 comments on commit 0756b4f

Please sign in to comment.