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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-06-28 23:16:47 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-06-29 10:11:04 +0300
commit241b59f458163aa4612e8d42ede87e60a7729421 (patch)
tree15a3377131c52103023579d220d4bbb9c3c2f816 /tests/lib/Updater
parent6044733b2d79a0178163ec1f5355b559e24a0753 (diff)
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests/lib/Updater')
-rw-r--r--tests/lib/Updater/ChangesCheckTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Updater/ChangesCheckTest.php b/tests/lib/Updater/ChangesCheckTest.php
index 5f7e8ad4f0a..cbb298647d0 100644
--- a/tests/lib/Updater/ChangesCheckTest.php
+++ b/tests/lib/Updater/ChangesCheckTest.php
@@ -307,7 +307,7 @@ class ChangesCheckTest extends TestCase {
->method('__call')
->willReturn($etag);
- $expectedHeaders = $etag === '' ? [] : ['If-None-Match: ' . $etag];
+ $expectedHeaders = $etag === '' ? [] : ['If-None-Match' => [$etag]];
$client = $this->createMock(IClient::class);
$client->expects($this->once())