We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a729b36 commit 0b3e251Copy full SHA for 0b3e251
composer.json
@@ -18,7 +18,7 @@
18
}
19
},
20
"require-dev": {
21
- "phpunit/phpunit": "^4.8.35 || ^5.7",
22
- "clue/block-react": "^1.1"
+ "clue/block-react": "^1.1",
+ "phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35"
23
24
tests/MiddlewareRunnerTest.php
@@ -13,9 +13,12 @@
13
14
final class MiddlewareRunnerTest extends TestCase
15
{
16
+ /**
17
+ * @expectedException RuntimeException
+ * @expectedExceptionMessage No middleware to run
+ */
public function testDefaultResponse()
- $this->setExpectedException('\RuntimeException');
$request = new ServerRequest('GET', 'https://example.com/');
$middlewares = array();
$middlewareStack = new MiddlewareRunner($middlewares);
0 commit comments