Skip to content

Commit 5a6b1ec

Browse files
author
Artem
committed
#RI-4931 fix ITests
1 parent c489c70 commit 5a6b1ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redisinsight/api/test/api/cli/POST-databases-id-cli-uuid-send_command.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ describe('POST /databases/:instanceId/cli/:uuid/send-command (MULTI)', () => {
10631063
{
10641064
name: 'Should create string',
10651065
data: {
1066-
command: `set ${constants.TEST_STRING_KEY_1} a`,
1066+
command: `set ${constants.TEST_STRING_KEY_1} bar`,
10671067
outputFormat: 'RAW',
10681068
},
10691069
responseRawSchema,
@@ -1074,7 +1074,7 @@ describe('POST /databases/:instanceId/cli/:uuid/send-command (MULTI)', () => {
10741074
{
10751075
name: 'Should create string',
10761076
data: {
1077-
command: `lpop ${constants.TEST_STRING_KEY_1} some`,
1077+
command: `incr ${constants.TEST_STRING_KEY_1}`,
10781078
outputFormat: 'RAW',
10791079
},
10801080
responseRawSchema,
@@ -1092,7 +1092,7 @@ describe('POST /databases/:instanceId/cli/:uuid/send-command (MULTI)', () => {
10921092
checkFn: ({ body }) => {
10931093
expect(body.response).to.deep.eq([
10941094
'OK',
1095-
'ReplyError: ERR value is out of range, must be positive',
1095+
'ReplyError: ERR value is not an integer or out of range',
10961096
]);
10971097
},
10981098
},

0 commit comments

Comments
 (0)