Skip to content

Commit

Permalink
using objectId instead of id in testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
sadakchap committed Jan 6, 2022
1 parent e864fd2 commit 8d5021f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/QueryTools.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ describe('matchesQuery', function () {

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

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

Expand Down

0 comments on commit 8d5021f

Please sign in to comment.