Improve functional test for api

This commit is contained in:
Frédéric Guillot 2014-12-09 19:43:24 -05:00
parent 076034c282
commit 3de00af088
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@ class Api extends PHPUnit_Framework_TestCase
public function testCreateProject()
{
$this->assertTrue($this->client->createProject('API test'));
$project_id = $this->client->createProject('API test');
$this->assertNotFalse($project_id);
$this->assertInternalType('int', $project_id);
}
public function testGetProjectById()