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 Folder Creating/Deleting #49

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

Unit Tests for Folder Creating/Deleting #49

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 and delete a folder.

Example:
A user visits admin/upload.
The user clicks the New Folder icon.
The modal form is presented and is validated for errors.
The user clicks Saveand is redirected back to the admin/upload page.
Check that the folder was created in public/uploads.

Same process needs to be tested for deleting a folder.

Controller: UploadController.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