Ghost/ghost/admin/tests
Kevin Ansfield ae759d39ea Fixed multiple 401s caused by token revocation requests
no issue
- disabled Ember Simple Auth's default token revocation
    - we trigger session invalidation on a 401 which means our token isn't valid so the revoke requests will also fail
- renamed application route's `invalidateSession` to `logout` in order to distinguish it from any ESA methods
    - added the token revocation requests to this action, we can be fairly sure at this point that the current tokens will be valid so the requests will succeed
- added check to `ajax.handleResponse` so that we don't invalidate the session for requests to external services
- removed pointless assertion from the ajax integration test
2018-04-16 17:55:21 +01:00
..
acceptance Fixed authors filter for posts with multiple authors (#993) 2018-03-27 20:57:59 +01:00
helpers Prevent keymaster bindings from causing failed tests (#976) 2018-03-19 18:39:17 +00:00
integration Fixed multiple 401s caused by token revocation requests 2018-04-16 17:55:21 +01:00
unit Use token input to allow selection of multiple authors in PSM 2018-03-27 18:50:52 +01:00
.eslintrc.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
index.html Fetch config from endpoint rather than meta tags (#368) 2016-10-28 14:07:50 +01:00
test-helper.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00