Skip to content

Commit

Permalink
Updates view tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeramysoucy committed Jul 24, 2023
1 parent 003703a commit 6dd712c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('Capture URL view routes', () => {
});

it('correctly defines route.', () => {
expect(routeConfig.options).toEqual({ authRequired: false });
expect(routeConfig.options).toEqual({ access: 'public', authRequired: false });

expect(routeConfig.validate).toEqual({
body: undefined,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/security/server/routes/views/login.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe('Login view routes', () => {
});

it('correctly defines route.', () => {
expect(routeConfig.options).toEqual({ authRequired: false });
expect(routeConfig.options).toEqual({ access: 'public', authRequired: false });
expect(routeConfig.validate).toBe(false);
});

Expand Down

0 comments on commit 6dd712c

Please sign in to comment.