This repository was archived by the owner on Dec 17, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/AppBundle/EventDispatcher/Listener Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function onInvalidRequestArgumentException(GetResponseForExceptionEvent $
17
17
}
18
18
19
19
$ errorMessage = [
20
- 'code ' => $ exception ->getCode (),
20
+ 'code ' => $ exception ->getCode (),
21
21
'message ' => $ exception ->getMessage (),
22
22
];
23
23
Original file line number Diff line number Diff line change 3
3
namespace tests \AppBundle \Entity ;
4
4
5
5
use AppBundle \Entity \Car ;
6
- use InvalidArgumentException ;
7
6
8
7
class CarTest extends \PHPUnit_Framework_TestCase
9
8
{
@@ -17,7 +16,7 @@ public function shouldCreateCarOnValidInput()
17
16
18
17
/**
19
18
* @test
20
- * @expectedException InvalidArgumentException
19
+ * @expectedException \ InvalidArgumentException
21
20
*/
22
21
public function shouldThrowExceptionOnInvalidInput ()
23
22
{
@@ -35,7 +34,7 @@ public function shouldUpdateWithValidData()
35
34
36
35
/**
37
36
* @test
38
- * @expectedException InvalidArgumentException
37
+ * @expectedException \ InvalidArgumentException
39
38
*/
40
39
public function shouldThrowExceptionOnUpdateWithInvalidData ()
41
40
{
You can’t perform that action at this time.
0 commit comments