Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Dec 7, 2023
1 parent 740ab77 commit 3f46466
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
6 changes: 5 additions & 1 deletion packages/kbn-test/src/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
* Side Public License, v 1.
*/

export { SamlSessionManager, type SamlSessionManagerOptions, type HostOptions } from './session_manager';
export {
SamlSessionManager,
type SamlSessionManagerOptions,
type HostOptions,
} from './session_manager';
14 changes: 7 additions & 7 deletions packages/kbn-test/src/auth/session_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ export class SamlSessionManager {
protocol: options.hostOptions.protocol,
hostname: options.hostOptions.hostname,
port: options.hostOptions.port,
}
};
this.kbnHost = Url.format(hostOptionsWithoutAuth);
this.kbnClient = new KbnClient({
log: this.log,
url: Url.format({
...hostOptionsWithoutAuth,
auth: `${options.hostOptions.username}:${options.hostOptions.password}`,
}),
});
log: this.log,
url: Url.format({
...hostOptionsWithoutAuth,
auth: `${options.hostOptions.username}:${options.hostOptions.password}`,
}),
});
this.sessionCache = new Map<Role, Session>();
this.roleToUserMap = new Map<Role, User>();
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test_serverless/shared/services/svl_user_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function SvlUserManagerProvider({ getService }: FtrProviderContext) {
password: config.get('servers.kibana.password'),
},
log,
isCloud
isCloud,
});

return sessionManager;
Expand Down

0 comments on commit 3f46466

Please sign in to comment.