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:30:47 +03:00
parent eb0a193e0c
commit 63b553215c

View file

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