diff options
author | sualko <klaus@jsxc.org> | 2018-03-05 15:08:31 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2018-03-05 15:08:31 +0300 |
commit | 2d3d32c5ebaf094c36494bdcaee34753eab0433b (patch) | |
tree | d72ba91b9384d0a08422995c25f765d4736d08f1 /tests/unit | |
parent | 1c69ef1b1fa3ad24e4036ad04905458dd72d75c0 (diff) |
adapt mock to interface
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/Middleware/ExternalApiMiddlewareTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Middleware/ExternalApiMiddlewareTest.php b/tests/unit/Middleware/ExternalApiMiddlewareTest.php index 320d35e..31542d4 100644 --- a/tests/unit/Middleware/ExternalApiMiddlewareTest.php +++ b/tests/unit/Middleware/ExternalApiMiddlewareTest.php @@ -49,7 +49,7 @@ class ExternalApiMiddlewareTest extends TestCase ->expects($this->once()) ->method('getHeader') ->with('X-JSXC-SIGNATURE') - ->willReturn(null); + ->willReturn(''); $this->expectException(SecurityException::class); $this->expectExceptionMessage('HTTP header "X-JSXC-Signature" is missing.'); |