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