diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-04-26 00:01:36 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-04-26 00:01:36 +0200 |
commit | 809b5f81f6ee448563462ae8f642fbb8a6a11499 (patch) | |
tree | 88f31a78a59d073b3731e00c26bb6ae05be032a5 /tests/lib/streamwrappers.php | |
parent | bcd9a6903317a786f5f947374a8680130e4a8297 (diff) | |
download | nextcloud-server-809b5f81f6ee448563462ae8f642fbb8a6a11499.tar.gz nextcloud-server-809b5f81f6ee448563462ae8f642fbb8a6a11499.zip |
Further seperation of mount management logic
Diffstat (limited to 'tests/lib/streamwrappers.php')
-rw-r--r-- | tests/lib/streamwrappers.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/streamwrappers.php b/tests/lib/streamwrappers.php index 2237ee7d378..c7e51ccfa48 100644 --- a/tests/lib/streamwrappers.php +++ b/tests/lib/streamwrappers.php @@ -77,10 +77,10 @@ class Test_StreamWrappers extends PHPUnit_Framework_TestCase { } public function testOC() { - \OC\Files\Mount::clear(); + \OC\Files\Filesystem::clearMounts(); $storage = new \OC\Files\Storage\Temporary(array()); $storage->file_put_contents('foo.txt', 'asd'); - new \OC\Files\Mount($storage, '/'); + \OC\Files\Filesystem::mount($storage, array(), '/'); $this->assertTrue(file_exists('oc:///foo.txt')); $this->assertEquals('asd', file_get_contents('oc:///foo.txt')); |