]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove tests from the wrong test method
authorChristian Berendt <berendt@b1-systems.de>
Wed, 3 Jul 2013 16:41:14 +0000 (18:41 +0200)
committerChristian Berendt <berendt@b1-systems.de>
Wed, 3 Jul 2013 16:41:14 +0000 (18:41 +0200)
tests/lib/files/storage/storage.php

index b694a76ddfea05211573264bab7898d8a93f8ecc..8db3aed1fa58a8c58a62d679c8a8a13b49f75339 100644 (file)
@@ -127,16 +127,6 @@ abstract class Storage extends \PHPUnit_Framework_TestCase {
                $this->assertFalse($this->instance->is_dir('/folder'));
                $this->assertFalse($this->instance->is_dir('/folder/sub_a'));
                $this->assertFalse($this->instance->file_exists('/folder/sub_a/file.txt'));
-
-                // check if it's working inside directories as well
-                $this->instance->mkdir('/folder');
-                $this->instance->file_put_contents('/folder/lorem.txt', $sourceText);
-                $this->assertFalse($this->instance->is_dir('/folder/lorem.txt'));
-                $this->assertEquals($sourceText, $this->instance->file_get_contents('/folder/lorem.txt'), 'data returned from file_get_contents is not equal to the source data');
-                $this->instance->file_put_contents('/folder/lorem.txt', '');
-                $this->assertEquals('', $this->instance->file_get_contents('/folder/lorem.txt'), 'file not emptied');
-                $this->instance->rmdir('/folder');
-                $this->assertFalse($this->instance->file_exists('/folder/lorem.txt'));
        }
 
        /**