Skip to content

Commit

Permalink
Update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed Sep 10, 2021
1 parent 14e7e4e commit 3dfe5ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x-pack/plugins/security/server/config_deprecations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ describe('Config Deprecations', () => {
expect(migrated).toEqual(defaultConfig);
expect(messages).toMatchInlineSnapshot(`
Array [
"Session idle timeout (\\"xpack.security.session.idleTimeout\\") will be set to 1 hour by default in the next major version (8.0).",
"Session lifespan (\\"xpack.security.session.lifespan\\") will be set to 30 days by default in the next major version (8.0).",
"The session idle timeout will default to 1 hour in 8.0.",
"The session lifespan will default to 30 days in 8.0.",
]
`);
});
Expand All @@ -54,7 +54,7 @@ describe('Config Deprecations', () => {
expect(migrated).toEqual(defaultConfig);
expect(messages).toMatchInlineSnapshot(`
Array [
"Session idle timeout (\\"xpack.security.session.idleTimeout\\") will be set to 1 hour by default in the next major version (8.0).",
"The session idle timeout will default to 1 hour in 8.0.",
]
`);
});
Expand All @@ -65,7 +65,7 @@ describe('Config Deprecations', () => {
expect(migrated).toEqual(defaultConfig);
expect(messages).toMatchInlineSnapshot(`
Array [
"Session lifespan (\\"xpack.security.session.lifespan\\") will be set to 30 days by default in the next major version (8.0).",
"The session lifespan will default to 30 days in 8.0.",
]
`);
});
Expand All @@ -84,7 +84,7 @@ describe('Config Deprecations', () => {
expect(messages).toMatchInlineSnapshot(`
Array [
"Setting \\"xpack.security.sessionTimeout\\" has been replaced by \\"xpack.security.session.idleTimeout\\"",
"Session lifespan (\\"xpack.security.session.lifespan\\") will be set to 30 days by default in the next major version (8.0).",
"The session lifespan will default to 30 days in 8.0.",
]
`);
});
Expand Down

0 comments on commit 3dfe5ec

Please sign in to comment.