Skip to content
Snippets Groups Projects
Commit dcf05b0e authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

fix backend unit tests that were failing due to increased input parameter...

fix backend unit tests that were failing due to increased input parameter checking on site arguments to stage_user
parent e4589a0e
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ suite.addBatch({
"account staging": {
topic: wsapi.post('/wsapi/stage_user', {
email: TEST_EMAIL,
site: 'fakesite.com'
site: 'https://fakesite.com'
}),
"works": function(err, r) {
assert.equal(r.code, 200);
......
......@@ -106,7 +106,7 @@ suite.addBatch({
"account staging": {
topic: wsapi.post('/wsapi/stage_user', {
email: TEST_EMAIL,
site: 'fakesite.com'
site: 'http://a.really.fakesite123.com:999'
}),
"works": function(err, r) {
assert.equal(r.code, 200);
......
......@@ -32,7 +32,7 @@ suite.addBatch({
"account staging": {
topic: wsapi.post('/wsapi/stage_user', {
email: TEST_EMAIL,
site: 'fakesite.com'
site: 'http://fakesite.com'
}),
"works": function(err, r) {
assert.equal(r.code, 200);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment