Updating the unit tests so that they all pass again.
* Adding checks for all expected navigator.id based functions. * pick_email.js - Get rid of the "remember" tests * state.js - Check that authenticated redirects off to "email_chosen" * user.js - get rid of the setPersistentSignin, change removePersistentSignin to logout. * xhr.js - Look in the stringified JSON for the csrf token.
Showing
- resources/static/test/cases/controllers/pick_email.js 7 additions, 81 deletionsresources/static/test/cases/controllers/pick_email.js
- resources/static/test/cases/include.js 11 additions, 3 deletionsresources/static/test/cases/include.js
- resources/static/test/cases/resources/state.js 13 additions, 6 deletionsresources/static/test/cases/resources/state.js
- resources/static/test/cases/shared/user.js 4 additions, 77 deletionsresources/static/test/cases/shared/user.js
- resources/static/test/mocks/xhr.js 1 addition, 1 deletionresources/static/test/mocks/xhr.js
Loading
Please register or sign in to comment