Skip to content

Commit 28c340a

Browse files
committed
Update ParseRole.spec.js
1 parent 59b8e85 commit 28c340a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/ParseRole.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ describe('Parse Role testing', () => {
188188

189189
// 1 call for the 1st layer of roles
190190
// 1 call for the 2nd layer
191-
expect(getAllRolesSpy.calls.count()).toEqual(1);
191+
expect(getAllRolesSpy.calls.count()).toEqual(
192+
process.env.PARSE_SERVER_TEST_DB === 'postgres' ? 2 : 1
193+
);
192194
done();
193195
})
194196
.catch(() => {

0 commit comments

Comments
 (0)