diff options
author | Robin Appelman <robin@icewind.nl> | 2017-01-03 20:22:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-03 20:22:16 +0100 |
commit | a75cfb601ec4d20f2eeddb25d1eb3ba745b71944 (patch) | |
tree | 3ce0fb64c7a87747a78780cc391211302334adb9 /tests | |
parent | 389623ee7b3e96b10e20d7ea9998432d5b985332 (diff) | |
parent | 8070ccc6f7cad34ec3ea940de0933f3193ef1ca9 (diff) | |
download | nextcloud-server-a75cfb601ec4d20f2eeddb25d1eb3ba745b71944.tar.gz nextcloud-server-a75cfb601ec4d20f2eeddb25d1eb3ba745b71944.zip |
Merge pull request #2923 from nextcloud/remove-fakedir-stream
remove no longer used fakedir stream wrapper
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/StreamWrappersTest.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/lib/StreamWrappersTest.php b/tests/lib/StreamWrappersTest.php index eb35fd54454..ee2f6a8b0b2 100644 --- a/tests/lib/StreamWrappersTest.php +++ b/tests/lib/StreamWrappersTest.php @@ -42,18 +42,6 @@ class StreamWrappersTest extends \Test\TestCase { } } - public function testFakeDir() { - $items = array('foo', 'bar'); - \OC\Files\Stream\Dir::register('test', $items); - $dh = opendir('fakedir://test'); - $result = array(); - while ($file = readdir($dh)) { - $result[] = $file; - $this->assertContains($file, $items); - } - $this->assertEquals(count($items), count($result)); - } - public function testCloseStream() { //ensure all basic stream stuff works $sourceFile = \OC::$SERVERROOT . '/tests/data/lorem.txt'; |