Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1450 from ScottDowne/hapi-update
Browse files Browse the repository at this point in the history
update hapi and fix test
  • Loading branch information
ScottDowne committed Apr 5, 2016
2 parents 78b3276 + cc93688 commit b5d6160
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"good": "6.4.0",
"good-console-logfmt": "1.0.2",
"habitat": "3.1.2",
"hapi": "11.1.4",
"hapi": "13.3.0",
"hapi-auth-bearer-token": "4.0.2",
"hatchet": "0.3.2",
"hoek": "3.0.4",
Expand Down
4 changes: 2 additions & 2 deletions tests/selenium/single-page-thunderbird-paypal-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ module.exports = function(driver, By, done) {
driver.wait(function() {
return driver.getCurrentUrl().then(function(url) {
var result = true;
if (url.indexOf('http://localhost:3000/en-US/thunderbird/thank-you/') === -1) {
if (url.indexOf('http://localhost:3000/en-CA/thunderbird/thank-you/') === -1) {
result = false;
}
if (url.indexOf('&amt=10.00') === -1) {
result = false;
}
if (url.indexOf('&cc=USD') === -1) {
if (url.indexOf('&cc=CAD') === -1) {
result = false;
}
if (url.indexOf('?frequency=single') === -1) {
Expand Down

0 comments on commit b5d6160

Please sign in to comment.