Skip to content

Commit

Permalink
fix(FileSystemProjectsRepositoryTest): correct preset.json file path …
Browse files Browse the repository at this point in the history
…when mocking ProjectFiles.readBytes
  • Loading branch information
renanfranca committed Jul 22, 2024
1 parent 060f448 commit f1284bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ private static ProjectFiles mockProjectFilesWithValidPresetJson() {
]
}
""";
lenient().when(projectFiles.readBytes("preset.json")).thenReturn(validPresetJson.getBytes());
lenient().when(projectFiles.readBytes("/preset.json")).thenReturn(validPresetJson.getBytes());

return projectFiles;
}
Expand Down

0 comments on commit f1284bc

Please sign in to comment.