Skip to content

Commit

Permalink
Fixing up the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Sep 12, 2019
1 parent 0a04239 commit 8f4658d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mockendpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"results": {
"channel": {
"astronomy": {
"sunset": "7:00 PM"
"sunset": "6:59 pm"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/octopus/ProxyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void mockRequests() throws URISyntaxException {
automatedBrowser.init();

automatedBrowser.alterResponseFrom(
".*?query\\.yahooapis\\.com.*",
".*?raw\\.githubusercontent\\.com.*",
200,
"{\"query\":{\"count\":1,\"created\":\"2018-04-28T05:20:30Z\",\"lang\":\"en-US\",\"results\":{\"channel\":{\"astronomy\":{\"sunset\":\"7:00 pm\"}}}}}");

Expand All @@ -48,7 +48,7 @@ public void mockRequests2() throws URISyntaxException {
automatedBrowser.init();

automatedBrowser.alterResponseFrom(
".*?query\\.yahooapis\\.com.*",
".*?raw\\.githubusercontent\\.com.*",
200,
"{\"query\":{\"count\":1,\"created\":\"2018-04-28T05:20:30Z\",\"lang\":\"en-US\",\"results\":{\"channel\":{\"astronomy\":{\"sunset\":\"7:4 pm\"}}}}}");

Expand Down

0 comments on commit 8f4658d

Please sign in to comment.