Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 03ffda0

Browse files
committed
Use expectException instead of deprecated setExpectedException
1 parent 4c393f1 commit 03ffda0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/MiddlewareListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public function testNullMiddlewareThrowsInvalidArgument()
342342

343343
$listener = new MiddlewareListener();
344344

345-
$this->setExpectedException(\InvalidArgumentException::class);
345+
$this->expectException(\InvalidArgumentException::class);
346346
$listener->onDispatch($event);
347347
}
348348
}

0 commit comments

Comments
 (0)