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

Adding tests for functions relating to User model #415

Merged
merged 3 commits into from
Mar 23, 2023

Conversation

cychu42
Copy link
Contributor

@cychu42 cychu42 commented Mar 22, 2023

This is part of issue #238

Changes:

In test\unit\user.server.test.ts, add tests for:

  • isStudent()
  • isAdmin()
  • isFaculty()
  • checkUsernameExists()
  • getUserByUsername()
  • createUser()

@cychu42 cychu42 added this to the Milestone 0.7 milestone Mar 22, 2023
@cychu42 cychu42 self-assigned this Mar 22, 2023
* isStudent()
* isAdmin()
* isFaculty()
* checkUsernameExists()
* getUserByUsername()
* createUser()
@SerpentBytes SerpentBytes added category: testing Unit tests, end to end tests category: back end Back end part of our web service category: data Anything related to data management and structure labels Mar 22, 2023
@humphd humphd requested a review from Eakam1007 March 22, 2023 21:37
@cychu42 cychu42 requested a review from SerpentBytes March 22, 2023 23:15
SerpentBytes
SerpentBytes previously approved these changes Mar 23, 2023
@cychu42 cychu42 requested a review from Eakam1007 March 23, 2023 13:11
* Adjust User clean-up after tests
@cychu42 cychu42 merged commit 315335e into DevelopingSpace:main Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: back end Back end part of our web service category: data Anything related to data management and structure category: testing Unit tests, end to end tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants