-
Notifications
You must be signed in to change notification settings - Fork 24
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
Instructor Permissions Tests: fetch DDAHs #588
Instructor Permissions Tests: fetch DDAHs #588
Conversation
35157be
to
92aa8d6
Compare
const newDdah = { | ||
assignment_id: assignments.payload[0].id, | ||
duties: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could alternatively pass this as a parameter, but I opted for hard-coding it here, so that the test itself is easier to read/understand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard coding is fine. We'll change it if we need more functionality.
const newDdah = { | ||
assignment_id: assignments.payload[0].id, | ||
duties: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard coding is fine. We'll change it if we need more functionality.
Looks great! |
First test for fetching DDAHs for instructor. Related to issue #597