Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Test the CIS login #14

Open
1 of 2 tasks
OhmGeek opened this issue Jun 28, 2017 · 0 comments
Open
1 of 2 tasks

Unit Test the CIS login #14

OhmGeek opened this issue Jun 28, 2017 · 0 comments

Comments

@OhmGeek
Copy link
Collaborator

OhmGeek commented Jun 28, 2017

Unit tests have now been written for the basic CIS auth.

TODO:

  • Get CIS to give us two test accounts: one associated with Aidan's, and one not.
  • Write Unit tests

Writing unit tests:

We need to cover several cases:

  1. Credentials correct, and they are a member of St Aidan's
  2. Credentials correct, but they aren't a member of St Aidan's
  3. Credentials are not correct - this should fail.

We also need to make both the username, e.g. abcd12, as well as the full domain work (so with both the long and short versions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant