Skip to content
Permalink
Browse files

fix tests

  • Loading branch information
negue committed May 1, 2018
1 parent 3127392 commit 576beeb451456ad27115f7fbd96c7be17b7f8c04
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/common/ops/buy/buy.js
  2. +1 −1 website/server/controllers/api-v3/user.js
@@ -111,7 +111,7 @@ describe('shared.ops.buy', () => {
params: {
key: 'thankyou',
},
type: 'special',
type: 'spells',
});

expect(user.stats.gp).to.equal(1);
@@ -602,7 +602,7 @@ api.buy = {
// @TODO: Remove this when mobile passes type in body
let type = req.params.key;
if (buySpecialKeys.indexOf(type) !== -1) {
req.type = 'special';
req.type = 'spells';
} else if (buyKnownKeys.indexOf(type) === -1) {
req.type = 'marketGear';
}

0 comments on commit 576beeb

Please sign in to comment.
You can’t perform that action at this time.