1
0
Fork 0
mirror of synced 2025-04-11 13:10:57 +00:00

update tests

This commit is contained in:
gwinn 2016-11-28 14:26:14 +03:00
parent 90e60f36a0
commit eb0a193e0c
2 changed files with 2 additions and 3 deletions

View file

@ -5,7 +5,6 @@ cache:
- $HOME/.composer/cache
php:
- '5.3'
- '5.4'
- '5.5'
- '5.6'

View file

@ -77,14 +77,14 @@ class ApiClientReferenceTest extends TestCase
}
$response = $client->$method($params);
$this->assertEquals(201, $response->getStatusCode());
$this->assertEquals(in_array(200, 201), $response->getStatusCode());
$response = $client->$method(array(
'code' => $code,
'name' => 'Bbb',
));
$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals(in_array(200, 201), $response->getStatusCode());
}
/**