aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/TemplateFunctionsTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-07 09:57:16 +0200
committerGitHub <noreply@github.com>2020-04-07 09:57:16 +0200
commit50ad706a33820610b2299376ad406a6be0acfc4b (patch)
treed723c19000a7971215e6fee12a468ffc9cf3c04f /tests/lib/TemplateFunctionsTest.php
parent9895aff4d92a738ea3248a1c03442e83fab02643 (diff)
parent1e086064f5b7ebf2d00d024874a1ecf4cf9d13b5 (diff)
downloadnextcloud-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.php3
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() {