summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-01-03 20:22:16 +0100
committerGitHub <noreply@github.com>2017-01-03 20:22:16 +0100
commita75cfb601ec4d20f2eeddb25d1eb3ba745b71944 (patch)
tree3ce0fb64c7a87747a78780cc391211302334adb9 /tests
parent389623ee7b3e96b10e20d7ea9998432d5b985332 (diff)
parent8070ccc6f7cad34ec3ea940de0933f3193ef1ca9 (diff)
downloadnextcloud-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.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';