-
-
Notifications
You must be signed in to change notification settings - Fork 517
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 Tests for Tag Creating/Editing/Deleting #48
Comments
austintoddj
added a commit
that referenced
this issue
Jul 19, 2016
RDelorier
added a commit
to RDelorier/Canvas
that referenced
this issue
Jul 24, 2016
RDelorier
added a commit
to RDelorier/Canvas
that referenced
this issue
Jul 25, 2016
Add tests for post edit/delete austintoddj#47 Add test for tag edit/delete austintoddj#48 Add tests for folder create/delete austintoddj#49 Add test for file upload create/delete austintoddj#50 Also made some updates to the file upload enpoint so that it could be tested properly. Add uploaded files in /public/uploades to .gitignore
jiaojie1989
pushed a commit
to jiaojie1989/Canvas
that referenced
this issue
Aug 9, 2016
Add tests for post edit/delete austintoddj#47 Add test for tag edit/delete austintoddj#48 Add tests for folder create/delete austintoddj#49 Add test for file upload create/delete austintoddj#50 Also made some updates to the file upload enpoint so that it could be tested properly. Add uploaded files in /public/uploades to .gitignore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHPUnit tests should be written to cover the applications' ability to create/edit/delete a tag.
Example:
A user visits
admin/tag
.The user clicks the
Create a New Tag
icon.The user fills in no information, and the form does not submit because of validation errors.
The user fills in all of the necessary information.
The user clicks
Save
and is redirected back to theadmin/tag
page.Check that the tag was created in the database.
Same process needs to be tested for editing/deleting a tag.
Controller:
TagController.php
Current Test File:
/tests/Acceptance/TagTest.php
The text was updated successfully, but these errors were encountered: