Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2018-03-05 15:08:31 +0300
committersualko <klaus@jsxc.org>2018-03-05 15:08:31 +0300
commit2d3d32c5ebaf094c36494bdcaee34753eab0433b (patch)
treed72ba91b9384d0a08422995c25f765d4736d08f1 /tests/unit
parent1c69ef1b1fa3ad24e4036ad04905458dd72d75c0 (diff)
adapt mock to interface
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/Middleware/ExternalApiMiddlewareTest.php2
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.');