Skip to content

Commit

Permalink
Fix CircleCI failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Njeri Kieha committed Mar 9, 2017
1 parent 4d94de1 commit 66f0f78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions server/methods/catalog.app-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ describe("core product methods", function () {
expect(updatedVariant.price).to.not.equal(7);
expect(updatedVariant.title).to.not.equal("Updated Title");
expect(updatedVariant.optionTitle).to.equal(variant.optionTitle);

return done();
});

it("should update individual variant revision by admin passing in partial object", function () {
Expand Down
3 changes: 2 additions & 1 deletion server/methods/translations.app-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ describe("i18n methods", function () {
Factory.create("shop");
Meteor.call("i18n/flushTranslations");
expect(removeTranslationSpy).to.have.been.called;
// expect(ReactionImport.process).toHaveBeenCalled();

return done();
});
});
});

0 comments on commit 66f0f78

Please sign in to comment.