Skip to content

Commit

Permalink
fix: integ test for userId not working
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypa committed Dec 13, 2024
1 parent 17d7bf7 commit f4afaa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/libmysql-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,13 @@ describe('Integration: libMySql', function () {
isSuccess = await createIndexForJsonField(tableName, 'Age', DATA_TYPES.INT, false);
expect(isSuccess).to.eql(true);
const queryResults = await getFromIndex(tableName, {
'lastName': 'Alice',
'userId': 'ABCD',
'Age': 100
});
expect(queryResults.length).to.eql(numberOfEntries);
queryResults.forEach(result => {
expect(result.lastName).to.eql('Alice');
expect(results.userId).to.eql("ABC");
expect(result.userId).to.eql("ABCD");
expect(result.Age).to.eql(100);
expect(result.active).to.eql(true);
expect(result.documentId.length).gt(0);
Expand Down

0 comments on commit f4afaa2

Please sign in to comment.