Skip to content

Commit 8d5021f

Browse files
committed
using objectId instead of id in testcases
1 parent e864fd2 commit 8d5021f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/QueryTools.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ describe('matchesQuery', function () {
257257

258258
it('matches on queries with new format #parse-SDK-JS/pull/1373', function () {
259259
const obj1 = {
260-
id: new Id('Person', 'O1'),
260+
objectId: 'Person01',
261261
score: 12,
262262
name: 'Bill',
263263
};
@@ -293,7 +293,7 @@ describe('matchesQuery', function () {
293293

294294
it('matches on queries with new format #parse-SDK-JS/pull/1373 for Object', function () {
295295
const obj1 = {
296-
id: new Id('Person', '01'),
296+
objectId: 'Person01',
297297
addr: { planet: 'Earth' },
298298
};
299299

0 commit comments

Comments
 (0)