mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #12093 from AdamWill/storage-test-touch
storage test: use new file for testTouchCreateFile()
This commit is contained in:
commit
710241f056
1 changed files with 3 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue