Skip to content

Commit

Permalink
Move test and fix filename.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhendriks committed Aug 13, 2023
1 parent c8816bf commit f51b274
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

public class DownloadVerifyNoDigestAlgoTest extends AbstractTychoIntegrationTest throws IOException {

@Test
public void test() throws Exception {
Verifier verifier = getVerifier("p2Repository.downloadVerifyNoDigestAlgo", false);
@Test
public void test() throws Exception {
Verifier verifier = getVerifier("p2Repository.downloadVerifyNoDigestAlgo", false);
verifier.setLogFileName("p2Repository.downloadVerifyNoDigestAlgo.log");
verifier.executeGoals(asList("verify"));
verifier.verifyErrorFreeLog();
String logContents = Files.readString(Paths.get("p2Repository.downloadVerifyNoDigestAlgo.log"));
assertFalse(logContents.contains("No digest algorithm is available to verify download"));
}
}
}

0 comments on commit f51b274

Please sign in to comment.