@@ -65,7 +65,7 @@ describe('POST /databases/:instanceId/string/get-value', () => {
65
65
encoding : 'ascii' ,
66
66
} ,
67
67
data : {
68
- keyName : constants . TEST_STRING_KEY_BIN_BUF_OBJ_1 ,
68
+ keyName : constants . TEST_STRING_KEY_BIN_ASCII_1 ,
69
69
} ,
70
70
responseBody : {
71
71
keyName : constants . TEST_STRING_KEY_BIN_ASCII_1 ,
@@ -78,7 +78,7 @@ describe('POST /databases/:instanceId/string/get-value', () => {
78
78
encoding : 'buffer' ,
79
79
} ,
80
80
data : {
81
- keyName : constants . TEST_STRING_KEY_BIN_ASCII_1 ,
81
+ keyName : constants . TEST_STRING_KEY_BIN_BUF_OBJ_1 ,
82
82
} ,
83
83
responseBody : {
84
84
keyName : constants . TEST_STRING_KEY_BIN_BUF_OBJ_1 ,
@@ -98,15 +98,14 @@ describe('POST /databases/:instanceId/string/get-value', () => {
98
98
keyName : constants . TEST_STRING_KEY_BIN_BUF_OBJ_1 ,
99
99
value : constants . TEST_STRING_PARTIAL_VALUE_BIN_BUF_OBJ_1 ,
100
100
} ,
101
- statusCode : 404 ,
102
101
} ,
103
102
{
104
103
name : 'Should return part of value in buffer ("start" & "end")' ,
105
104
query : {
106
105
encoding : 'buffer' ,
107
106
} ,
108
107
data : {
109
- keyName : constants . TEST_STRING_KEY_BIN_ASCII_1 ,
108
+ keyName : constants . TEST_STRING_KEY_BIN_BUF_OBJ_1 ,
110
109
start : constants . TEST_STRING_KEY_START_2 ,
111
110
end : constants . TEST_STRING_KEY_END
112
111
} ,
0 commit comments