Skip to content

Commit

Permalink
Fix typo in Meteor 2 test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Sep 5, 2024
1 parent 5ac1f31 commit 02e54a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/tests/serverAsync.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Meteor.publish('client_assignments', async () => {
})

// To allow inserting on the client, needed for testing.
if (Meteor.release.split('@')[1][1] === '2') {
if (Meteor.release.split('@')[1][0] === '2') {
Meteor.roleAssignment.allow({
insert () { return true },
update () { return true },
Expand Down

0 comments on commit 02e54a9

Please sign in to comment.