mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-04 19:24:16 +00:00
15 lines
324 B
PHP
15 lines
324 B
PHP
|
<?php
|
||
|
|
||
|
//Include class
|
||
|
require_once(__DIR__."/../../../classes/models/APIClient.php");
|
||
|
|
||
|
use PHPUnit\Framework\TestCase;
|
||
|
|
||
|
class APIClientTest extends TestCase {
|
||
|
|
||
|
public function testConfirmHasTokenAfterSet(){
|
||
|
$client = new APIClient();
|
||
|
$client->set_token("token");
|
||
|
$this->assertEquals(TRUE, $client->has_token());
|
||
|
}
|
||
|
}
|