Skip to content

Commit 8f8878b

Browse files
Merge pull request #3538 from RedisInsight/fe/bugfix/RI-5869_test_connection_fail_status
#RI-5869 - update fail status
2 parents 9a1e702 + 651889f commit 8f8878b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

redisinsight/ui/src/slices/interfaces/rdi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export interface InitialStateRdiInstances {
192192

193193
// Rdi test target connections
194194
export enum TestConnectionStatus {
195-
Fail = 'fail',
195+
Fail = 'failed',
196196
Success = 'success',
197197
}
198198

redisinsight/ui/src/utils/tests/transformers/transformRdiPipeline.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const transformConnectionResultsTests: any[] = [
144144
}
145145
},
146146
target2: {
147-
status: 'fail',
147+
status: 'failed',
148148
error: {
149149
code: 'INVALID_CREDENTIALS',
150150
message: 'Failed to establish connection to the PostgreSQL database. Invalid credentials provided'
@@ -167,7 +167,7 @@ const transformConnectionResultsTests: any[] = [
167167
unknownProperty: 'foo bar'
168168
},
169169
target7: {
170-
status: 'fail',
170+
status: 'failed',
171171
},
172172
},
173173
{

0 commit comments

Comments
 (0)