Skip to content

Commit b070bd9

Browse files
committed
Fix cases tests
1 parent 85ca6a4 commit b070bd9

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

x-pack/plugins/actions/server/action_type_registry.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ describe('actionTypeRegistry', () => {
226226
name: 'My action type',
227227
minimumLicenseRequired: 'basic',
228228
supportedFeatureIds: ['alerting'],
229-
isSystemAction: false,
229+
isSystemAction: true,
230230
validate: {
231231
config: { schema: schema.object({}) },
232232
secrets: { schema: schema.object({}) },

x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export default ({ getService }: FtrProviderContext): void => {
8282
updateIncidentUrl: 'http://some.non.existent.com/{{{external.system.id}}}',
8383
},
8484
isPreconfigured: false,
85+
isSystemAction: false,
8586
isDeprecated: false,
8687
isMissingSecrets: false,
8788
referencedByCount: 0,
@@ -95,6 +96,7 @@ export default ({ getService }: FtrProviderContext): void => {
9596
projectKey: 'pkey',
9697
},
9798
isPreconfigured: false,
99+
isSystemAction: false,
98100
isDeprecated: false,
99101
isMissingSecrets: false,
100102
referencedByCount: 0,
@@ -107,6 +109,7 @@ export default ({ getService }: FtrProviderContext): void => {
107109
actionTypeId: '.servicenow',
108110
id: 'preconfigured-servicenow',
109111
isPreconfigured: true,
112+
isSystemAction: false,
110113
isDeprecated: false,
111114
name: 'preconfigured-servicenow',
112115
referencedByCount: 0,
@@ -120,6 +123,7 @@ export default ({ getService }: FtrProviderContext): void => {
120123
orgId: 'pkey',
121124
},
122125
isPreconfigured: false,
126+
isSystemAction: false,
123127
isDeprecated: false,
124128
isMissingSecrets: false,
125129
referencedByCount: 0,
@@ -137,6 +141,7 @@ export default ({ getService }: FtrProviderContext): void => {
137141
userIdentifierValue: null,
138142
},
139143
isPreconfigured: false,
144+
isSystemAction: false,
140145
isDeprecated: false,
141146
isMissingSecrets: false,
142147
referencedByCount: 0,
@@ -154,6 +159,7 @@ export default ({ getService }: FtrProviderContext): void => {
154159
jwtKeyId: 'def',
155160
},
156161
isPreconfigured: false,
162+
isSystemAction: false,
157163
isDeprecated: false,
158164
isMissingSecrets: false,
159165
referencedByCount: 0,
@@ -171,6 +177,7 @@ export default ({ getService }: FtrProviderContext): void => {
171177
userIdentifierValue: null,
172178
},
173179
isPreconfigured: false,
180+
isSystemAction: false,
174181
isDeprecated: false,
175182
isMissingSecrets: false,
176183
referencedByCount: 0,

x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export default ({ getService }: FtrProviderContext): void => {
116116
updateIncidentUrl: 'http://some.non.existent.com/{{{external.system.id}}}',
117117
},
118118
isPreconfigured: false,
119+
isSystemAction: false,
119120
isDeprecated: false,
120121
isMissingSecrets: false,
121122
referencedByCount: 0,
@@ -129,6 +130,7 @@ export default ({ getService }: FtrProviderContext): void => {
129130
projectKey: 'pkey',
130131
},
131132
isPreconfigured: false,
133+
isSystemAction: false,
132134
isDeprecated: false,
133135
isMissingSecrets: false,
134136
referencedByCount: 0,
@@ -141,6 +143,7 @@ export default ({ getService }: FtrProviderContext): void => {
141143
actionTypeId: '.servicenow',
142144
id: 'preconfigured-servicenow',
143145
isPreconfigured: true,
146+
isSystemAction: false,
144147
isDeprecated: false,
145148
name: 'preconfigured-servicenow',
146149
referencedByCount: 0,
@@ -154,6 +157,7 @@ export default ({ getService }: FtrProviderContext): void => {
154157
orgId: 'pkey',
155158
},
156159
isPreconfigured: false,
160+
isSystemAction: false,
157161
isDeprecated: false,
158162
isMissingSecrets: false,
159163
referencedByCount: 0,
@@ -171,6 +175,7 @@ export default ({ getService }: FtrProviderContext): void => {
171175
userIdentifierValue: null,
172176
},
173177
isPreconfigured: false,
178+
isSystemAction: false,
174179
isDeprecated: false,
175180
isMissingSecrets: false,
176181
referencedByCount: 0,
@@ -188,6 +193,7 @@ export default ({ getService }: FtrProviderContext): void => {
188193
jwtKeyId: 'def',
189194
},
190195
isPreconfigured: false,
196+
isSystemAction: false,
191197
isDeprecated: false,
192198
isMissingSecrets: false,
193199
referencedByCount: 0,
@@ -205,6 +211,7 @@ export default ({ getService }: FtrProviderContext): void => {
205211
userIdentifierValue: null,
206212
},
207213
isPreconfigured: false,
214+
isSystemAction: false,
208215
isDeprecated: false,
209216
isMissingSecrets: false,
210217
referencedByCount: 0,
@@ -270,6 +277,7 @@ export default ({ getService }: FtrProviderContext): void => {
270277
actionTypeId: '.servicenow',
271278
id: 'preconfigured-servicenow',
272279
isPreconfigured: true,
280+
isSystemAction: false,
273281
isDeprecated: false,
274282
name: 'preconfigured-servicenow',
275283
referencedByCount: 0,

0 commit comments

Comments
 (0)