mirror of
https://github.com/PGYER/codefever.git
synced 2026-05-08 14:36:58 +08:00
22 lines
395 B
PHP
Executable File
22 lines
395 B
PHP
Executable File
<?php
|
|
namespace UserSshkey;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class ListTest extends TestCase {
|
|
public function setUp()
|
|
{
|
|
global $CI;
|
|
$CI->load->model('User_sshkey_model', 'userSshkeyModel');
|
|
}
|
|
|
|
public function testList()
|
|
{
|
|
global $CI;
|
|
|
|
$sshkeys = $CI->userSshkeyModel->list(TESTING_USER_KEY);
|
|
|
|
$this->assertIsArray($sshkeys);
|
|
}
|
|
}
|