Skip to content

Commit 3b238a8

Browse files
author
Njeri Kieha
committed
Fix CircleCI failed tests
1 parent 66f0f78 commit 3b238a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/methods/catalog.app-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ describe("core product methods", function () {
194194
return done();
195195
});
196196

197-
it("should not update individual variant by admin passing in partial object", function () {
197+
it("should not update individual variant by admin passing in partial object", function (done) {
198198
sandbox.stub(Reaction, "hasPermission", () => true);
199199
const product = addProduct();
200200
const variant = Products.find({ ancestors: [product._id] }).fetch()[0];

server/methods/translations.app-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe("i18n methods", function () {
2929
expect(importTranslationSpy).to.not.have.been.called;
3030
});
3131

32-
it("should remove and load translations back by admin", function () {
32+
it("should remove and load translations back by admin", function (done) {
3333
sandbox.stub(Meteor, "userId", () => "0123456789");
3434
sandbox.stub(Roles, "userIsInRole", () => true);
3535
const removeTranslationSpy = sandbox.spy(Translations, "remove");

0 commit comments

Comments
 (0)