Fix missing backtick before OC
This commit is contained in:
parent
e823d50044
commit
e88a9b2fed
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue