From 37254744b5b1d0f5761837dee1e33ad63dcff101 Mon Sep 17 00:00:00 2001 From: Christian Berendt <berendt@b1-systems.de> Date: Wed, 3 Jul 2013 18:41:14 +0200 Subject: [PATCH] remove tests from the wrong test method --- tests/lib/files/storage/storage.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php index b694a76ddf..8db3aed1fa 100644 --- a/tests/lib/files/storage/storage.php +++ b/tests/lib/files/storage/storage.php @@ -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')); } /** -- GitLab