Skip to content

Commit 3186bf9

Browse files
authored
Fixes broken test
1 parent 2ca9bc5 commit 3186bf9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spec/ParseLiveQueryServer.spec.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,6 @@ describe('ParseLiveQueryServer', function() {
12961296
return this;
12971297
},
12981298
each(callback) {
1299-
if (!shouldReturn) {
1300-
return Promise.resolve();
1301-
}
13021299
//Return a role with the name "liveQueryRead" as that is what was set on the ACL
13031300
const liveQueryRole = new Parse.Role(
13041301
'liveQueryRead',
@@ -1317,13 +1314,6 @@ describe('ParseLiveQueryServer', function() {
13171314
expect(isMatched).toBe(true);
13181315
done();
13191316
});
1320-
1321-
parseLiveQueryServer
1322-
._matchesACL(acl, client, requestId)
1323-
.then(function(isMatched) {
1324-
expect(isMatched).toBe(true);
1325-
done();
1326-
});
13271317
});
13281318

13291319
describe('class level permissions', () => {

0 commit comments

Comments
 (0)