Skip to content

Commit fa44880

Browse files
irinaAbramova-devirinaP-local
authored andcommitted
#RI-4815 fix tests
1 parent 26e5350 commit fa44880

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

redisinsight/api/test/api/string/POST-databases-id-string-get_value.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('POST /databases/:instanceId/string/get-value', () => {
6565
encoding: 'ascii',
6666
},
6767
data: {
68-
keyName: constants.TEST_STRING_KEY_BIN_BUF_OBJ_1,
68+
keyName: constants.TEST_STRING_KEY_BIN_ASCII_1,
6969
},
7070
responseBody: {
7171
keyName: constants.TEST_STRING_KEY_BIN_ASCII_1,
@@ -78,7 +78,7 @@ describe('POST /databases/:instanceId/string/get-value', () => {
7878
encoding: 'buffer',
7979
},
8080
data: {
81-
keyName: constants.TEST_STRING_KEY_BIN_ASCII_1,
81+
keyName: constants.TEST_STRING_KEY_BIN_BUF_OBJ_1,
8282
},
8383
responseBody: {
8484
keyName: constants.TEST_STRING_KEY_BIN_BUF_OBJ_1,
@@ -98,15 +98,14 @@ describe('POST /databases/:instanceId/string/get-value', () => {
9898
keyName: constants.TEST_STRING_KEY_BIN_BUF_OBJ_1,
9999
value: constants.TEST_STRING_PARTIAL_VALUE_BIN_BUF_OBJ_1,
100100
},
101-
statusCode: 404,
102101
},
103102
{
104103
name: 'Should return part of value in buffer ("start" & "end")',
105104
query: {
106105
encoding: 'buffer',
107106
},
108107
data: {
109-
keyName: constants.TEST_STRING_KEY_BIN_ASCII_1,
108+
keyName: constants.TEST_STRING_KEY_BIN_BUF_OBJ_1,
110109
start: constants.TEST_STRING_KEY_START_2,
111110
end: constants.TEST_STRING_KEY_END
112111
},

0 commit comments

Comments
 (0)