diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-06-28 22:16:47 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-29 09:11:04 +0200 |
commit | 241b59f458163aa4612e8d42ede87e60a7729421 (patch) | |
tree | 15a3377131c52103023579d220d4bbb9c3c2f816 /tests | |
parent | 6044733b2d79a0178163ec1f5355b559e24a0753 (diff) | |
download | nextcloud-server-241b59f458163aa4612e8d42ede87e60a7729421.tar.gz nextcloud-server-241b59f458163aa4612e8d42ede87e60a7729421.zip |
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Updater/ChangesCheckTest.php | 2 |
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()) |