diff options
Diffstat (limited to 'vendor/symfony/event-dispatcher/Tests/GenericEventTest.php')
| -rw-r--r-- | vendor/symfony/event-dispatcher/Tests/GenericEventTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php b/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php index 461f86161e..e9e011a29d 100644 --- a/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php +++ b/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php @@ -92,7 +92,7 @@ class GenericEventTest extends TestCase $this->assertEquals('Event', $this->event['name']); // test getting invalid arg - $this->{method_exists($this, $_ = 'expectException') ? $_ : 'setExpectedException'}('InvalidArgumentException'); + $this->expectException('InvalidArgumentException'); $this->assertFalse($this->event['nameNotExist']); } |
