Skip to content

Commit

Permalink
DEV: tests - GeneralSettings views: surveyMenus
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Nov 15, 2017
1 parent 72ef207 commit eb51c45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions application/views/admin/surveymenu/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
/* @var $this SurveymenuController */
/* @var $this AdminController */
/* @var $dataProvider CActiveDataProvider */

// $this->breadcrumbs=array(
Expand All @@ -10,10 +10,13 @@
// array('label'=>'Create Surveymenu', 'url'=>array('create')),
// array('label'=>'Manage Surveymenu', 'url'=>array('admin')),
// );
//
//
$pageSize=Yii::app()->user->getState('pageSize',Yii::app()->params['defaultPageSize']);
$massiveAction = App()->getController()->renderPartial('/admin/surveymenu/massive_action/_selector', array(), true, false);

// DO NOT REMOVE This is for automated testing to validate we see that page
echo viewHelper::getViewTestTag('surveyMenus');

?>
<div class="container-fluid ls-space padding left-50 right-50">
<div class="ls-flex-column ls-space padding left-35 right-35">
Expand Down
1 change: 1 addition & 0 deletions tests/data/views/adminGeneralSettingsViews.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
['createNewBox', ['route'=>'homepagesettings/sa/create']],
['pluginManager', ['route'=>'pluginmanager/sa/index']],
['configurePlugin', ['route'=>'pluginmanager/sa/configure&id=3']],
['surveyMenus', ['route'=>'menus/sa/view']],


];

0 comments on commit eb51c45

Please sign in to comment.