mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-08 06:28:37 +08:00
22 lines
396 B
PHP
Executable File
22 lines
396 B
PHP
Executable File
<?php
|
|
namespace Group;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class SearchByNameTest extends TestCase {
|
|
public function setUp()
|
|
{
|
|
global $CI;
|
|
$CI->load->model('Group_model', 'groupModel');
|
|
}
|
|
|
|
public function testSearchByName()
|
|
{
|
|
global $CI;
|
|
|
|
$group = $CI->groupModel->searchByName(TESTING_GROUP_NAME);
|
|
|
|
$this->assertIsArray($group);
|
|
}
|
|
}
|