diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-23 21:38:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 21:38:22 +0200 |
commit | a169bd243ff4b014fa4238845dbebbbc2a4d1021 (patch) | |
tree | a1fee830c286b0911aae9f4c141572a92261080d /tests/lib/Template/JSResourceLocatorTest.php | |
parent | 173f8abc7ed48d2436d8df10ad66bc4907d4bb52 (diff) | |
parent | 761cdf9877be6d286f96e1f3eb4beab052b89baa (diff) | |
download | nextcloud-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.php | 11 |
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(); |