Commit 710241f0 authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #12093 from AdamWill/storage-test-touch

storage test: use new file for testTouchCreateFile()
parents c998f620 e0ae8705
......@@ -340,10 +340,10 @@ abstract class Storage extends \PHPUnit_Framework_TestCase {
}
public function testTouchCreateFile() {
$this->assertFalse($this->instance->file_exists('foo'));
$this->assertFalse($this->instance->file_exists('touch'));
// returns true on success
$this->assertTrue($this->instance->touch('foo'));
$this->assertTrue($this->instance->file_exists('foo'));
$this->assertTrue($this->instance->touch('touch'));
$this->assertTrue($this->instance->file_exists('touch'));
}
public function testRecursiveRmdir() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment