12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- class AddManySessionToCategoryFunctionsTest extends PHPUnit_Framework_TestCase
- {
-
- protected $object;
-
- protected function setUp()
- {
- require_once dirname(__FILE__).'/../../../main/inc/global.inc.php';
- $this->object = new AddManySessionToCategoryFunctions;
- }
-
- protected function tearDown()
- {
- }
-
- public function testSearch_courses()
- {
- $this->assertNotSame(
- '',
- $this->object->search_courses()
- );
- }
-
- public function testSearch_courses2()
- {
- $this->assertNotSame(
- '',
- $this->object->search_courses('abc','single')
- );
- }
- }
|