Skip to content

Commit

Permalink
Bump hoverfly version to 1.5.3 (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
romangr authored Sep 8, 2023
1 parent 765b2c2 commit 6d488a3
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=0.14.5-SNAPSHOT
title=Hoverfly Java
description=Hoverfly for Java. Capture and simulate HTTP(S) services in JUnit tests.
hoverfly_binary_version=v1.4.0
hoverfly_binary_version=v1.5.3
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class HoverflyMetaData {
private String timeExported;

public HoverflyMetaData() {
schemaVersion = "v5.1";
schemaVersion = "v5.2";
}

@JsonCreator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,6 @@ private void assertSimulationIsSetAndUpgraded(String resourcePath) throws IOExce

Simulation exportedSimulation = hoverfly.getSimulation();
assertThat(exportedSimulation.getHoverflyData().getPairs()).hasSize(1);
assertThat(exportedSimulation.getHoverflyMetaData().getSchemaVersion()).isEqualTo("v5.1");
assertThat(exportedSimulation.getHoverflyMetaData().getSchemaVersion()).isEqualTo("v5.2");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void shouldCreateSimulationFromSimulationObject() throws Exception {
public void shouldCreateEmptySimulation() throws JSONException {
JSONAssert.assertEquals(
SimulationSource.empty().getSimulation(),
"{\"data\":{\"pairs\":[],\"globalActions\":{\"delays\":[]}},\"meta\":{\"schemaVersion\":\"v5.1\"}}",
"{\"data\":{\"pairs\":[],\"globalActions\":{\"delays\":[]}},\"meta\":{\"schemaVersion\":\"v5.2\"}}",
false);
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/expected-simulation-other.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
}
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}
2 changes: 1 addition & 1 deletion src/test/resources/expected-simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
}
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@
}
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@
}
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}
2 changes: 1 addition & 1 deletion src/test/resources/simulations/v5-simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@
}
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}
2 changes: 1 addition & 1 deletion testng/src/test/resources/expected-simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
}
},
"meta": {
"schemaVersion": "v5.1"
"schemaVersion": "v5.2"
}
}

0 comments on commit 6d488a3

Please sign in to comment.