summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-01-03 17:06:03 +0100
committerRobin Appelman <robin@icewind.nl>2017-01-03 17:06:03 +0100
commit5b0956559415bc3a82e78f8e5fb76a3280866ee3 (patch)
tree7eef933345ea5476b83a92a5a4db3ed48488b965 /tests
parentb399ad2fee406ce54389bace618f1804fdd2e42c (diff)
downloadnextcloud-server-5b0956559415bc3a82e78f8e5fb76a3280866ee3.tar.gz
nextcloud-server-5b0956559415bc3a82e78f8e5fb76a3280866ee3.zip
remove no longer used fakedir stream wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/StreamWrappersTest.php12
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';