summaryrefslogtreecommitdiffstats
path: root/tests/lib/Template
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Template')
-rw-r--r--tests/lib/Template/JSCombinerTest.php10
-rw-r--r--tests/lib/Template/SCSSCacherTest.php10
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/lib/Template/JSCombinerTest.php b/tests/lib/Template/JSCombinerTest.php
index 1e6234a062c..89bb13338c8 100644
--- a/tests/lib/Template/JSCombinerTest.php
+++ b/tests/lib/Template/JSCombinerTest.php
@@ -111,7 +111,7 @@ class JSCombinerTest extends \Test\TestCase {
return $file;
} else if ($path === 'combine.js.deps') {
throw new NotFoundException();
- } else if ($path === 'combine.js.gz') {
+ } else if ($path === 'combine.js.gzip') {
return $gzfile;
}
$this->fail();
@@ -148,7 +148,7 @@ class JSCombinerTest extends \Test\TestCase {
return $file;
} else if ($path === 'combine.js.deps') {
throw new NotFoundException();
- } else if ($path === 'combine.js.gz') {
+ } else if ($path === 'combine.js.gzip') {
return $gzfile;
}
$this->fail();
@@ -302,7 +302,7 @@ class JSCombinerTest extends \Test\TestCase {
return $file;
} else if ($filename === 'combine.js.deps') {
return $depsFile;
- } else if ($filename === 'combine.js.gz') {
+ } else if ($filename === 'combine.js.gzip') {
return $gzFile;
}
$this->fail();
@@ -333,7 +333,7 @@ class JSCombinerTest extends \Test\TestCase {
return $file;
} else if ($filename === 'combine.js.deps') {
return $depsFile;
- } else if ($filename === 'combine.js.gz') {
+ } else if ($filename === 'combine.js.gzip') {
return $gzFile;
}
$this->fail();
@@ -401,7 +401,7 @@ var b = \'world\';
return $file;
} else if ($filename === 'combine.js.deps') {
return $depsFile;
- } else if ($filename === 'combine.js.gz') {
+ } else if ($filename === 'combine.js.gzip') {
return $gzFile;
}
$this->fail();
diff --git a/tests/lib/Template/SCSSCacherTest.php b/tests/lib/Template/SCSSCacherTest.php
index 887fa1ed605..24865b9ae45 100644
--- a/tests/lib/Template/SCSSCacherTest.php
+++ b/tests/lib/Template/SCSSCacherTest.php
@@ -81,7 +81,7 @@ class SCSSCacherTest extends \Test\TestCase {
return $file;
} else if ($path === 'styles.css.deps') {
throw new NotFoundException();
- } else if ($path === 'styles.css.gz') {
+ } else if ($path === 'styles.css.gzip') {
return $gzfile;
} else {
$this->fail();
@@ -110,7 +110,7 @@ class SCSSCacherTest extends \Test\TestCase {
return $file;
} else if ($path === 'styles.css.deps') {
throw new NotFoundException();
- } else if ($path === 'styles.css.gz') {
+ } else if ($path === 'styles.css.gzip') {
return $gzfile;
}else {
$this->fail();
@@ -228,7 +228,7 @@ class SCSSCacherTest extends \Test\TestCase {
return $file;
} else if ($fileName === 'styles.css.deps') {
return $depsFile;
- } else if ($fileName === 'styles.css.gz') {
+ } else if ($fileName === 'styles.css.gzip') {
return $gzipFile;
}
throw new \Exception();
@@ -258,7 +258,7 @@ class SCSSCacherTest extends \Test\TestCase {
return $file;
} else if ($fileName === 'styles.css.deps') {
return $depsFile;
- } else if ($fileName === 'styles.css.gz') {
+ } else if ($fileName === 'styles.css.gzip') {
return $gzipFile;
}
throw new \Exception();
@@ -288,7 +288,7 @@ class SCSSCacherTest extends \Test\TestCase {
return $file;
} else if ($fileName === 'styles-success.css.deps') {
return $depsFile;
- } else if ($fileName === 'styles-success.css.gz') {
+ } else if ($fileName === 'styles-success.css.gzip') {
return $gzipFile;
}
throw new \Exception();