Browse Source

Fix missing backtick before OC

Joas Schilling 8 years ago
parent
commit
e88a9b2fed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/lib/StreamWrappersTest.php

+ 1 - 1
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));