diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-04-07 09:57:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 09:57:16 +0200 |
commit | 50ad706a33820610b2299376ad406a6be0acfc4b (patch) | |
tree | d723c19000a7971215e6fee12a468ffc9cf3c04f /tests/lib/TemplateFunctionsTest.php | |
parent | 9895aff4d92a738ea3248a1c03442e83fab02643 (diff) | |
parent | 1e086064f5b7ebf2d00d024874a1ecf4cf9d13b5 (diff) | |
download | nextcloud-server-50ad706a33820610b2299376ad406a6be0acfc4b.tar.gz nextcloud-server-50ad706a33820610b2299376ad406a6be0acfc4b.zip |
Merge pull request #20265 from nextcloud/techdebt/legacy-classes-psr4
Move legacy classes from PSR0 to PSR4
Diffstat (limited to 'tests/lib/TemplateFunctionsTest.php')
-rw-r--r-- | tests/lib/TemplateFunctionsTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/TemplateFunctionsTest.php b/tests/lib/TemplateFunctionsTest.php index ac73873ce37..a6385670487 100644 --- a/tests/lib/TemplateFunctionsTest.php +++ b/tests/lib/TemplateFunctionsTest.php @@ -27,8 +27,7 @@ class TemplateFunctionsTest extends \Test\TestCase { protected function setUp(): void { parent::setUp(); - $loader = new \OC\Autoloader([\OC::$SERVERROOT . '/lib']); - $loader->load('OC_Template'); + require_once \OC::$SERVERROOT . '/lib/private/legacy/OC_Template.php'; } public function testPJavaScript() { |