From a15e0aa44fcc17ddfb56bdb382b9335d100ca062 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 31 Aug 2022 21:44:21 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' --- .../security/server/authentication/authenticator.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security/server/authentication/authenticator.test.ts b/x-pack/plugins/security/server/authentication/authenticator.test.ts index e4b875b89b273..05b31684ff72a 100644 --- a/x-pack/plugins/security/server/authentication/authenticator.test.ts +++ b/x-pack/plugins/security/server/authentication/authenticator.test.ts @@ -59,7 +59,9 @@ function getMockOptions({ auditLogger = auditLoggerMock.create(); auditService.asScoped.mockReturnValue(auditLogger); - const accessAgreementObj = accessAgreementMessage ? {accessAgreement: { message: accessAgreementMessage }} : null; + const accessAgreementObj = accessAgreementMessage + ? { accessAgreement: { message: accessAgreementMessage } } + : null; return { audit: auditService, @@ -72,7 +74,7 @@ function getMockOptions({ config: createConfig( ConfigSchema.validate({ authc: { selector, providers, http }, - ...accessAgreementObj + ...accessAgreementObj, }), loggingSystemMock.create().get(), { isTLSEnabled: false }