summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-19 09:41:45 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-19 09:41:45 +0200
commite88a9b2fed7e395bb80c87d837fc688b74dc667e (patch)
tree57e678149d191caf9b7e7e26d8c54e2bc48170c9
parente823d5004457e4bf9fcf343e352169c7fa6a8151 (diff)
downloadnextcloud-server-e88a9b2fed7e395bb80c87d837fc688b74dc667e.tar.gz
nextcloud-server-e88a9b2fed7e395bb80c87d837fc688b74dc667e.zip
Fix missing backtick before OC
-rw-r--r--tests/lib/StreamWrappersTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/StreamWrappersTest.php b/tests/lib/StreamWrappersTest.php
index 14bcbb847d9..a378f975fde 100644
--- a/tests/lib/StreamWrappersTest.php
+++ b/tests/lib/StreamWrappersTest.php
@@ -56,7 +56,7 @@ class StreamWrappersTest extends \Test\TestCase {
public function testCloseStream() {
//ensure all basic stream stuff works
- $sourceFile = OC::$SERVERROOT . '/tests/data/lorem.txt';
+ $sourceFile = \OC::$SERVERROOT . '/tests/data/lorem.txt';
$tmpFile = \OC::$server->getTempManager()->getTemporaryFile('.txt');
$file = 'close://' . $tmpFile;
$this->assertTrue(file_exists($file));