diff options
-rw-r--r-- | trustStoreMerger/src/test/java/org/onap/oom/certservice/postprocessor/common/FileToolsTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trustStoreMerger/src/test/java/org/onap/oom/certservice/postprocessor/common/FileToolsTest.java b/trustStoreMerger/src/test/java/org/onap/oom/certservice/postprocessor/common/FileToolsTest.java index fbebae00..7b3b28ae 100644 --- a/trustStoreMerger/src/test/java/org/onap/oom/certservice/postprocessor/common/FileToolsTest.java +++ b/trustStoreMerger/src/test/java/org/onap/oom/certservice/postprocessor/common/FileToolsTest.java @@ -43,7 +43,7 @@ class FileToolsTest { //when new FileTools().createBackup(fileToBackup); //then - assertThat(fileToBackup.equals(new File(backupFilePath))); + assertThat(fileToBackup).hasSameBinaryContentAs(new File(backupFilePath)); } @Test @@ -54,7 +54,7 @@ class FileToolsTest { //when new FileTools().copy(sourceFile, destinationFile); //then - assertThat(sourceFile.equals(destinationFile)); + assertThat(sourceFile).hasSameBinaryContentAs(destinationFile); } |