Skip to content

Commit a7a9866

Browse files
committed
test
1 parent 8bba2ec commit a7a9866

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/vulnerabilities.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ describe('(GHSA-qpr4-jrj4-6f27) SQL Injection via sort dot-notation field name',
924924
},
925925
}).catch(() => {});
926926

927-
const verify = await new Parse.Query('InjectionTest').first();
927+
const verify = await new Parse.Query('InjectionTest').get(obj.id);
928928
expect(verify.get('name')).toBe('original');
929929
});
930930

@@ -944,7 +944,7 @@ describe('(GHSA-qpr4-jrj4-6f27) SQL Injection via sort dot-notation field name',
944944
},
945945
}).catch(() => {});
946946

947-
const verify = await new Parse.Query('InjectionTest').first();
947+
const verify = await new Parse.Query('InjectionTest').get(obj.id);
948948
expect(verify.get('name')).toBe('original');
949949
});
950950

@@ -964,7 +964,7 @@ describe('(GHSA-qpr4-jrj4-6f27) SQL Injection via sort dot-notation field name',
964964
},
965965
}).catch(() => {});
966966

967-
const verify = await new Parse.Query('InjectionTest').first();
967+
const verify = await new Parse.Query('InjectionTest').get(obj.id);
968968
expect(verify.get('name')).toBe('original');
969969
});
970970

@@ -984,7 +984,7 @@ describe('(GHSA-qpr4-jrj4-6f27) SQL Injection via sort dot-notation field name',
984984
},
985985
}).catch(() => {});
986986

987-
const verify = await new Parse.Query('InjectionTest').first();
987+
const verify = await new Parse.Query('InjectionTest').get(obj.id);
988988
expect(verify.get('name')).toBe('original');
989989
});
990990

0 commit comments

Comments
 (0)