We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3f81b commit ade9932Copy full SHA for ade9932
spring-boot-admin-server-ui/src/main/frontend/utils/axios.spec.js
@@ -44,8 +44,6 @@ describe('redirectOn401', () => {
44
});
45
46
it('should redirect on 401', async () => {
47
-
48
49
const error = {
50
response: {
51
status: 401
@@ -58,7 +56,7 @@ describe('redirectOn401', () => {
58
56
expect(e).toBe(error);
59
57
}
60
61
- expect(window.location.assign).toBeCalledWith('login?redirectTo=http%3A%2F%2Fexample.com%2F');
+ expect(window.location.assign).toBeCalledWith('login?redirectTo=http%3A%2F%2Fexample.com%2F&error=401');
62
63
64
it('should not redirect on 401 for predicate yields false', async () => {
0 commit comments