Skip to content

Commit

Permalink
chore: update mysql clinet
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypa committed Dec 13, 2024
1 parent d96f231 commit 9a15a05
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 47 deletions.
107 changes: 63 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"dependencies": {
"@aicore/libcommonutils": "1.0.20",
"@aicore/libmysql": "1.0.41",
"@aicore/libmysql": "1.0.43",
"@fastify/websocket": "11.0.1",
"ajv": "8.17.1",
"fastify": "5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/integration/api-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ describe('Integration: http end point', function () {
expect(createIndexResp.isSuccess).eql(true);
const newPutResp = await put(TABLE_NAME, document);
expect(newPutResp.isSuccess).eql(false);
expect(newPutResp.errorMessage).eql("Error: Duplicate entry '12345' for key 'customers.b80bb7740288fda1f201890375a60c8f'");
expect(newPutResp.errorMessage).eql("Error: Duplicate entry '12345' for key 'customers.col_b80bb7740288fda1f201890375a60c8f'");
});
it('getFromNonIndex test should pass', async function () {
const document = {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/ws-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ describe('Integration: ws end points', function () {
expect(createIndexResp.isSuccess).eql(true);
const newPutResp = await put(TABLE_NAME, document);
expect(newPutResp.isSuccess).eql(false);
expect(newPutResp.errorMessage).eql("Error: Duplicate entry '12345' for key 'customers.b80bb7740288fda1f201890375a60c8f'");
expect(newPutResp.errorMessage).eql("Error: Duplicate entry '12345' for key 'customers.col_b80bb7740288fda1f201890375a60c8f'");
});
it('getFromNonIndex test should pass', async function () {
const document = {
Expand Down

0 comments on commit 9a15a05

Please sign in to comment.