Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #13 from reactioncommerce/ref-kieckhafer-removeLeg…
Browse files Browse the repository at this point in the history
…acyAuthMockFunctions

fix: remove legacy auth mockContext functions that aren't needed
  • Loading branch information
kieckhafer authored Jan 25, 2020
2 parents d7d9e22 + 93406ec commit 46abcca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/tests/mockContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ const mockContext = {
mutations: {},
queries: {},
userHasPermission: jest.fn().mockName("userHasPermission"),
userHasPermissionLegacy: jest.fn().mockName("userHasPermissionLegacy"),
validatePermissions: jest.fn().mockName("validatePermissions"),
validatePermissionsLegacy: jest.fn().mockName("validatePermissionsLegacy"),
userId: "FAKE_USER_ID"
};

Expand Down

0 comments on commit 46abcca

Please sign in to comment.