Skip to content

Commit

Permalink
fix broken redirect_to test
Browse files Browse the repository at this point in the history
  • Loading branch information
andaley committed Oct 2, 2019
1 parent 4b255da commit f70dea1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ui/app/routes/vault/cluster/logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default Route.extend(ModelBoundaryRoute, {
this.namespaceService.reset();
this.console.set('isOpen', false);
this.console.clearLog(true);
this.replaceWith('vault.cluster.auth', { queryParams: { redirect_to: '' } });
this.flashMessages.clearMessages();
this.permissions.reset();
this.replaceWith('vault.cluster.auth');
Expand Down
1 change: 1 addition & 0 deletions ui/tests/acceptance/redirect-to-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ module('Acceptance | redirect_to query param functionality', function(hooks) {
redirect_to: url,
wrapped_token: wrappedToken,
});
debugger;
assert.equal(currentURL(), url, 'authenticates then navigates to the redirect_to url after auth');
});
});

0 comments on commit f70dea1

Please sign in to comment.