aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Template/JSResourceLocatorTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-23 21:38:22 +0200
committerGitHub <noreply@github.com>2020-07-23 21:38:22 +0200
commita169bd243ff4b014fa4238845dbebbbc2a4d1021 (patch)
treea1fee830c286b0911aae9f4c141572a92261080d /tests/lib/Template/JSResourceLocatorTest.php
parent173f8abc7ed48d2436d8df10ad66bc4907d4bb52 (diff)
parent761cdf9877be6d286f96e1f3eb4beab052b89baa (diff)
downloadnextcloud-server-a169bd243ff4b014fa4238845dbebbbc2a4d1021.tar.gz
nextcloud-server-a169bd243ff4b014fa4238845dbebbbc2a4d1021.zip
Merge pull request #21972 from nextcloud/techdebt/noid/cleanup-phpunit-warnings
Fix PHPUnit deprecation warnings
Diffstat (limited to 'tests/lib/Template/JSResourceLocatorTest.php')
-rw-r--r--tests/lib/Template/JSResourceLocatorTest.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/lib/Template/JSResourceLocatorTest.php b/tests/lib/Template/JSResourceLocatorTest.php
index 0e6b217ec52..3f5d157e7f5 100644
--- a/tests/lib/Template/JSResourceLocatorTest.php
+++ b/tests/lib/Template/JSResourceLocatorTest.php
@@ -86,17 +86,6 @@ class JSResourceLocatorTest extends \Test\TestCase {
return sha1(uniqid(mt_rand(), true));
}
-
- public function testConstructor() {
- $locator = $this->jsResourceLocator();
- $this->assertAttributeEquals('theme', 'theme', $locator);
- $this->assertAttributeEquals('core', 'serverroot', $locator);
- $this->assertAttributeEquals(['core'=>'map','3rd'=>'party'], 'mapping', $locator);
- $this->assertAttributeEquals('3rd', 'thirdpartyroot', $locator);
- $this->assertAttributeEquals('map', 'webroot', $locator);
- $this->assertAttributeEquals([], 'resources', $locator);
- }
-
public function testFindWithAppPathSymlink() {
// First create new apps path, and a symlink to it
$apps_dirname = $this->randomString();