mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-08 14:36:58 +08:00
22 lines
425 B
PHP
Executable File
22 lines
425 B
PHP
Executable File
<?php
|
|
namespace Group;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class SearchByDisplayNameTest extends TestCase {
|
|
public function setUp()
|
|
{
|
|
global $CI;
|
|
$CI->load->model('Group_model', 'groupModel');
|
|
}
|
|
|
|
public function testSearchByDisplayName()
|
|
{
|
|
global $CI;
|
|
|
|
$group = $CI->groupModel->searchByDisplayName(TESTING_GROUP_DISPLAY_NAME);
|
|
|
|
$this->assertIsArray($group);
|
|
}
|
|
}
|