HomeSuperUserWalkthroughTest Class Reference

Inheritance diagram for HomeSuperUserWalkthroughTest:
ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testSuperUserWelcomeActions ()
 testSuperUserAllDefaultControllerActions ()
 testSuperUserDateSorting ()
 testAddPortletOnTwoColumnsDashboard ()
 testAddProductsMyListPortletToDashboard ()
 testCreateAndEditDashboardByChangingLayoutType ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Home Module Walkthrough. Walkthrough for the super user of all possible controller actions. Since this is a super user, he should have access to all controller actions without any exceptions being thrown.

Definition at line 43 of file HomeSuperUserWalkthroughTest.php.


Member Function Documentation

testSuperUserDateSorting (  ) 

Strange it fails in ui but passes in the test. It should fail in both ways.

$super = $this->logoutCurrentUserLoginNewUserAndGetByUsername('super'); $superDashboard = Dashboard::getByLayoutIdAndUser(Dashboard::DEFAULT_USER_LAYOUT_ID, $super); $uniqueLayoutId = 'HomeDashboard' . $superDashboard->layoutId; $portlets = Portlet::getByLayoutIdAndUserSortedByColumnIdAndPosition($uniqueLayoutId, $super->id, array());

$this->setGetArray(array( 'Task_sort' => 'date', 'portletId' => $portlets[1][4]->id, 'uniqueLayoutId' => $uniqueLayoutId, 'ajax' => 'list-view' . $uniqueLayoutId . '_' . $portlets[1][4]->id )); $this->runControllerWithNoExceptionsAndGetContent('home/default');

Definition at line 278 of file HomeSuperUserWalkthroughTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Mar 29 07:10:26 2017