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

admin profile test #427

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

admin profile test #427

wants to merge 7 commits into from

Conversation

anjalakaturi
Copy link
Contributor

closes #418

@danielfang97
Copy link
Contributor

Issue with the test, with one of the test imports not being imported in right now

@danielfang97
Copy link
Contributor

There isn't any admin/profile endpoint, so wouldn't this test be the same for regular /profile and this admin/profile? Also, it says content does not match, but it should be a compare json I think.

@anjalakaturi
Copy link
Contributor Author

anjalakaturi commented Jun 15, 2023

This is testing to see if the profile endpoint works for an admin rather than a regular user. See the issue, I noted the differences at the top. If you want me to not compare certain fields, I can remove them. But the one's that didn't match seemed important.

Also it is comparing json, I updated the compare funcs so check the comparison_type field on tests to see if it is json or json list. If the field is not there it is a regular text comparison.

@cjmyers cjmyers added this to the SBH 3.0.0 milestone Oct 30, 2023
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

Successfully merging this pull request may close these issues.

/profile for admin login doesn't match
3 participants