File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed
redisinsight/ui/src/components/oauth/oauth-social Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,10 @@ describe('OAuthSocial', () => {
58
58
eventData : {
59
59
accountOption : 'Google' ,
60
60
action : 'create' ,
61
- recommendedSettings : 'not displayed'
61
+ cloudRecommendedSettings : 'not displayed'
62
+ } ,
63
+ traits : {
64
+ cloudRecommendedSettings : 'not displayed'
62
65
}
63
66
} )
64
67
@@ -85,7 +88,10 @@ describe('OAuthSocial', () => {
85
88
eventData : {
86
89
accountOption : 'GitHub' ,
87
90
action : 'create' ,
88
- recommendedSettings : 'not displayed'
91
+ cloudRecommendedSettings : 'not displayed'
92
+ } ,
93
+ traits : {
94
+ cloudRecommendedSettings : 'not displayed'
89
95
}
90
96
} )
91
97
@@ -121,7 +127,10 @@ describe('OAuthSocial', () => {
121
127
eventData : {
122
128
accountOption : 'Google' ,
123
129
action : 'create' ,
124
- recommendedSettings : 'enabled'
130
+ cloudRecommendedSettings : 'enabled'
131
+ } ,
132
+ traits : {
133
+ cloudRecommendedSettings : 'enabled'
125
134
}
126
135
} )
127
136
@@ -148,7 +157,10 @@ describe('OAuthSocial', () => {
148
157
eventData : {
149
158
accountOption : 'GitHub' ,
150
159
action : 'create' ,
151
- recommendedSettings : 'enabled'
160
+ cloudRecommendedSettings : 'enabled'
161
+ } ,
162
+ traits : {
163
+ cloudRecommendedSettings : 'enabled'
152
164
}
153
165
} )
154
166
@@ -178,7 +190,8 @@ describe('OAuthSocial', () => {
178
190
eventData : {
179
191
accountOption : 'Google' ,
180
192
action : 'import' ,
181
- }
193
+ } ,
194
+ traits : { }
182
195
} )
183
196
184
197
expect ( invokeMock ) . toBeCalledTimes ( 1 )
You can’t perform that action at this time.
0 commit comments