@@ -38,7 +38,7 @@ beforeEach(() => {
38
38
store . clearActions ( )
39
39
} )
40
40
41
- const fromUrl = 'redisinsight://databases/connect?redisUrl=redis://default:password@localhost:6379&databaseAlias=My Name&redirect=workbench?guidePath=/quick-guides/document/introduction.md&cloudId =1232&subscriptionType=fixed&planMemoryLimit=30&memoryLimitMeasurementUnit=mb&free=true&target=_blank'
41
+ const fromUrl = 'redisinsight://databases/connect?redisUrl=redis://default:password@localhost:6379&databaseAlias=My Name&redirect=workbench?guidePath=/quick-guides/document/introduction.md&cloudBdbId =1232&subscriptionType=fixed&planMemoryLimit=30&memoryLimitMeasurementUnit=mb&free=true&target=_blank'
42
42
43
43
describe ( 'GlobalUrlHandler' , ( ) => {
44
44
beforeEach ( ( ) => {
@@ -84,6 +84,8 @@ describe('GlobalUrlHandler', () => {
84
84
const fromParams = new URLSearchParams ( actionUrl . search )
85
85
// @ts -ignore
86
86
const urlProperties = Object . fromEntries ( fromParams ) || { }
87
+ urlProperties . cloudId = urlProperties . cloudBdbId
88
+ delete urlProperties . cloudBdbId
87
89
88
90
expect ( store . getActions ( ) ) . toEqual ( [
89
91
setUrlProperties ( urlProperties ) ,
@@ -115,6 +117,8 @@ describe('GlobalUrlHandler', () => {
115
117
const fromParams = new URLSearchParams ( actionUrl . search )
116
118
// @ts -ignore
117
119
const urlProperties = Object . fromEntries ( fromParams ) || { }
120
+ urlProperties . cloudId = urlProperties . cloudBdbId
121
+ delete urlProperties . cloudBdbId
118
122
119
123
const expectedActions = [
120
124
setUrlProperties ( urlProperties ) ,
@@ -159,6 +163,8 @@ describe('GlobalUrlHandler', () => {
159
163
const fromParams = new URLSearchParams ( actionUrl . search )
160
164
// @ts -ignore
161
165
const urlProperties = Object . fromEntries ( fromParams ) || { }
166
+ urlProperties . cloudId = urlProperties . cloudBdbId
167
+ delete urlProperties . cloudBdbId
162
168
163
169
const expectedActions = [
164
170
setUrlProperties ( urlProperties ) ,
0 commit comments