Created first test

This commit is contained in:
Pierre HUBERT 2018-07-12 14:05:56 +02:00
parent 4c3b9ff814
commit a6021aeffc

View File

@ -0,0 +1,16 @@
<?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());
}
}