diff --git a/x-pack/plugins/security/server/config.test.ts b/x-pack/plugins/security/server/config.test.ts index 2c2486464997..0e1e2e2afeb1 100644 --- a/x-pack/plugins/security/server/config.test.ts +++ b/x-pack/plugins/security/server/config.test.ts @@ -407,7 +407,7 @@ describe('config schema', () => { "basic1": Object { "description": "Log in with Elasticsearch", "enabled": true, - "icon": "logoElastic", + "icon": "logoElasticsearch", "order": 0, "showInSelector": true, }, @@ -467,7 +467,7 @@ describe('config schema', () => { "token1": Object { "description": "Log in with Elasticsearch", "enabled": true, - "icon": "logoElastic", + "icon": "logoElasticsearch", "order": 0, "showInSelector": true, }, @@ -746,14 +746,14 @@ describe('config schema', () => { "basic1": Object { "description": "Log in with Elasticsearch", "enabled": true, - "icon": "logoElastic", + "icon": "logoElasticsearch", "order": 0, "showInSelector": true, }, "basic2": Object { "description": "Log in with Elasticsearch", "enabled": false, - "icon": "logoElastic", + "icon": "logoElasticsearch", "order": 1, "showInSelector": true, }, diff --git a/x-pack/plugins/security/server/config.ts b/x-pack/plugins/security/server/config.ts index 8fe79a788ac5..695653a2ac1d 100644 --- a/x-pack/plugins/security/server/config.ts +++ b/x-pack/plugins/security/server/config.ts @@ -62,7 +62,7 @@ const providersConfigSchema = schema.object( defaultMessage: 'Log in with Elasticsearch', }), }), - icon: schema.string({ defaultValue: 'logoElastic' }), + icon: schema.string({ defaultValue: 'logoElasticsearch' }), showInSelector: schema.boolean({ defaultValue: true, validate: value => { @@ -78,7 +78,7 @@ const providersConfigSchema = schema.object( defaultMessage: 'Log in with Elasticsearch', }), }), - icon: schema.string({ defaultValue: 'logoElastic' }), + icon: schema.string({ defaultValue: 'logoElasticsearch' }), showInSelector: schema.boolean({ defaultValue: true, validate: value => { diff --git a/x-pack/plugins/security/server/routes/views/login.test.ts b/x-pack/plugins/security/server/routes/views/login.test.ts index 014ad390a3d5..5c41a48bf5ee 100644 --- a/x-pack/plugins/security/server/routes/views/login.test.ts +++ b/x-pack/plugins/security/server/routes/views/login.test.ts @@ -252,7 +252,7 @@ describe('Login view routes', () => { name: 'basic1', type: 'basic', usesLoginForm: true, - icon: 'logoElastic', + icon: 'logoElasticsearch', description: 'Log in with Elasticsearch', }, ], @@ -264,7 +264,7 @@ describe('Login view routes', () => { name: 'token1', type: 'token', usesLoginForm: true, - icon: 'logoElastic', + icon: 'logoElasticsearch', description: 'Log in with Elasticsearch', }, ], @@ -309,7 +309,7 @@ describe('Login view routes', () => { name: 'basic1', type: 'basic', usesLoginForm: true, - icon: 'logoElastic', + icon: 'logoElasticsearch', description: 'Log in with Elasticsearch', }, ], @@ -325,7 +325,7 @@ describe('Login view routes', () => { name: 'basic1', type: 'basic', usesLoginForm: true, - icon: 'logoElastic', + icon: 'logoElasticsearch', description: 'Log in with Elasticsearch', }, ], @@ -340,7 +340,7 @@ describe('Login view routes', () => { order: 0, description: 'some-desc1', hint: 'some-hint1', - icon: 'logoElastic', + icon: 'logoElasticsearch', }, }, saml: { @@ -355,7 +355,7 @@ describe('Login view routes', () => { name: 'basic1', description: 'some-desc1', hint: 'some-hint1', - icon: 'logoElastic', + icon: 'logoElasticsearch', usesLoginForm: true, }, {