1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
This commit is contained in:
Jordi Boggiano 2014-06-10 16:02:44 +02:00
parent d036b2390e
commit ac497feaba
53 changed files with 166 additions and 156 deletions

View file

@ -25,13 +25,13 @@ class JsonValidationExceptionTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($message, $object->getMessage());
$this->assertEquals($errors, $object->getErrors());
}
public function testGetErrorsWhenNoErrorsProvided()
{
$object = new JsonValidationException('test message');
$this->assertEquals(array(), $object->getErrors());
}
public function errorProvider()
{
return array(