|
|
|
@ -15,7 +15,7 @@ class ExceptionTest extends TestCase
|
|
|
|
|
$this->assertEquals('bar', $array['message']); |
|
|
|
|
$this->assertEquals('foo', $array['previous']['message']); |
|
|
|
|
|
|
|
|
|
$e = new InvalidCallException('bar', 0 ,new UserException('foo')); |
|
|
|
|
$e = new InvalidCallException('bar', 0, new UserException('foo')); |
|
|
|
|
$array = $e->toArray(); |
|
|
|
|
$this->assertEquals('bar', $array['message']); |
|
|
|
|
$this->assertEquals('foo', $array['previous']['message']); |
|
|
|
|