Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
Fix configuration hashing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Wöste committed Jan 30, 2018
1 parent a85445a commit 9e1c4e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ private void loadIGVConfiguration() throws IOException {
if ("true".equals(rawString)) {
return true;
}
if ("FALSE".equals(rawString)) {
if ("false".equals(rawString)) {
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/de/imi/marw/viper/test/api/APITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,14 @@ private void waitUntilSnapshotFinished(String key) throws InterruptedException,
@Test(timeout = 30000)
public void snapshotCorrectlyCreated() throws IOException, UnirestException, InterruptedException {

String expectedHash = "a08ca55812bdd6671ac61c62ecc48df3";
String expectedHash = "9edf767920e6f0ce4217dc541a5c065f";

assertEquals(expectedHash, Unirest.get(URL_BASE + "/api/snapshots/configuration-hash")
.asString()
.getBody()
);

expectedHash = "7151d35c35a242bf4afe4645a99a39ef";
expectedHash = "a5d8dafdc5829f601df5dcb1267d5fa6";

assertEquals(expectedHash, Unirest.post(URL_BASE + "/api/snapshots/configuration")
.field("key", "SAM.SHOW_SOFT_CLIPPED")
Expand Down

0 comments on commit 9e1c4e9

Please sign in to comment.