Skip to content

Commit fe8ca28

Browse files
authored
Merge branch 'alpha' into postgresInit
2 parents c62cc5a + 912edac commit fe8ca28

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

spec/ParseGraphQLServer.spec.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,11 +2600,19 @@ describe('ParseGraphQLServer', () => {
26002600
// "SecondaryObject:bBRgmzIRRM" < "SecondaryObject:nTMcuVbATY" true
26012601
// base64("SecondaryObject:bBRgmzIRRM"") < base64(""SecondaryObject:nTMcuVbATY"") false
26022602
// "U2Vjb25kYXJ5T2JqZWN0OmJCUmdteklSUk0=" < "U2Vjb25kYXJ5T2JqZWN0Om5UTWN1VmJBVFk=" false
2603+
const originalIds = [getSecondaryObjectsResult.data.secondaryObject2.objectId,
2604+
getSecondaryObjectsResult.data.secondaryObject4.objectId];
26032605
expect(
26042606
findSecondaryObjectsResult.data.secondaryObjects.edges[0].node.objectId
2605-
).toBeLessThan(
2607+
).not.toBe(
26062608
findSecondaryObjectsResult.data.secondaryObjects.edges[1].node.objectId
26072609
);
2610+
expect(
2611+
originalIds.includes(findSecondaryObjectsResult.data.secondaryObjects.edges[0].node.objectId)
2612+
).toBeTrue();
2613+
expect(
2614+
originalIds.includes(findSecondaryObjectsResult.data.secondaryObjects.edges[1].node.objectId)
2615+
).toBeTrue();
26082616

26092617
const createPrimaryObjectResult = await apolloClient.mutate({
26102618
mutation: gql`

0 commit comments

Comments
 (0)