diff --git a/tests/application/modules/default/views/helpers/FetchDomainCategoriesTest.php b/tests/application/modules/default/views/helpers/FetchDomainCategoriesTest.php index 237ddc741..9a37b1915 100644 --- a/tests/application/modules/default/views/helpers/FetchDomainCategoriesTest.php +++ b/tests/application/modules/default/views/helpers/FetchDomainCategoriesTest.php @@ -1,70 +1,70 @@ . + * along with this program. If not, see . **/ class Default_View_Helper_FetchDomainCategoriesTest extends PHPUnit_Framework_TestCase { protected function setUp() { require_once APPLICATION_LIB . '/Local/Application.php'; // Create application, bootstrap, and run $this->bootstrap = new Local_Application( APPLICATION_ENV, Zend_Registry::get('configuration'), Zend_Registry::get('cache') ); $this->bootstrap->bootstrap('db'); parent::setUp(); // TODO: Change the autogenerated stub } protected function tearDown() { parent::tearDown(); // TODO: Change the autogenerated stub } public function testFetchDomainCategoriesOrdered() { $helper = new Default_View_Helper_FetchDomainCategories(); $result = $helper->fetchDomainCategoriesOrdered(117); $subset = array ( 0 => array ( 'project_category_id' => '117', 'lft' => '114', 'rgt' => '115', 'title' => 'Beryl/Emerald Themes', 'is_active' => '1', 'is_deleted' => '0', 'orderPos' => '0', 'created_at' => '2016-03-04 05:47:28', 'changed_at' => NULL, 'deleted_at' => NULL, ), ); $this->assertArraySubset($subset, $result); } }