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 Tests for Tag Creating/Editing/Deleting #48

Closed
austintoddj opened this issue Jul 16, 2016 · 0 comments
Closed

Unit Tests for Tag Creating/Editing/Deleting #48

austintoddj opened this issue Jul 16, 2016 · 0 comments
Assignees

Comments

@austintoddj
Copy link
Owner

austintoddj commented Jul 16, 2016

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 the admin/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

@austintoddj austintoddj self-assigned this Jul 16, 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant