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:
authorMorris Jobke <hey@morrisjobke.de>2017-03-29 09:11:51 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-03-29 09:11:51 +0300
commit9813023aabfb37256dac4d2eea5574f91f8897e2 (patch)
tree5a8fc5c3113df74b566ccc1878d5e243d8e49233 /tests/Core
parent05f25963117f4829f5eae3c23d0e4c40cdbc0abf (diff)
Fix gzip files for Safari
* Safari support gzip only if the filename does not end on .gz - so this renames them to .gzip Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Controller/CssControllerTest.php2
-rw-r--r--tests/Core/Controller/JsControllerTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Core/Controller/CssControllerTest.php b/tests/Core/Controller/CssControllerTest.php
index 7fa358e056e..30bbc12809e 100644
--- a/tests/Core/Controller/CssControllerTest.php
+++ b/tests/Core/Controller/CssControllerTest.php
@@ -121,7 +121,7 @@ class CssControllerTest extends TestCase {
->willReturn($folder);
$folder->method('getFile')
- ->with('file.css.gz')
+ ->with('file.css.gzip')
->willReturn($gzipFile);
$this->request->method('getHeader')
diff --git a/tests/Core/Controller/JsControllerTest.php b/tests/Core/Controller/JsControllerTest.php
index 8f48a7c3390..8456ba8b6e3 100644
--- a/tests/Core/Controller/JsControllerTest.php
+++ b/tests/Core/Controller/JsControllerTest.php
@@ -120,7 +120,7 @@ class JsControllerTest extends TestCase {
->willReturn($folder);
$folder->method('getFile')
- ->with('file.js.gz')
+ ->with('file.js.gzip')
->willReturn($gzipFile);
$this->request->method('getHeader')