Changeset 1627
- Timestamp:
- 02/22/10 14:44:21 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/ullFlowPlugin/UllFlowAppTableTest.php
r818 r1627 10 10 sfContext::createInstance($configuration); 11 11 12 $t = new myTestCase( 4, new lime_output_color, $configuration);12 $t = new myTestCase(7, new lime_output_color, $configuration); 13 13 $path = dirname(__FILE__); 14 14 $t->setFixturesPath($path); … … 33 33 $t->isa_ok($app, 'UllFlowApp', 'returns the correct object'); 34 34 $t->is($app->label, 'Trouble ticket tool', 'return the correct label'); 35 36 37 $t->diag('findAllOrderByLabel'); 38 39 $apps = UllFlowAppTable::findAllOrderByName(); 40 41 $t->is(count($apps), 2, 'Returns the correct number of results'); 42 $t->is($apps[0]['slug'], 'todo', 'Returns the correct result at the correct position'); 43 $t->is($apps[1]['slug'], 'trouble_ticket', 'Returns the correct result at the correct position');
