\CMSSecuredFileAddControllerTest
At time of writing simply exercises initValidate() to ensure only selected users are able to access the file-add controller
- Author: Deviate Ltd 2014-2015 http://www.deviate.net.nz
Synopsis
class CMSSecuredFileAddControllerTest
extends FunctionalTest
{
- // members
- protected static string $fixture_file = 'fixtures/CMSSecuredFileAddControllerTest.yml';
- // methods
- public void testInitValidateCanAddAsADMIN()
- public void testInitValidateCanAdd()
- public void testInitValidateCannotAdd()
Hierarchy
Extends
- FunctionalTest
Tasks
Line | Task |
---|---|
12+ | Complete all possible permutations for canXX() methods |
12+ | Why is a user with ADMIN always running tests? |
Members
protected
- $fixture_file — string
Methods
public
- testInitValidateCanAdd() — User may proceed to file-add controller (Edit_All)
- testInitValidateCanAddAsADMIN() — User may proceed to file-add controller (Admin)
- testInitValidateCannotAdd() — User may not proceed to file-add controller (View_All)