summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-12 10:59:41 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-11-12 10:59:41 +0100
commit710241f056aec3e27d5856b9388f09bb338c671b (patch)
treea7d66f4bac236e708a6beae69a49d15bdab7dab5 /tests
parentc998f620d0b19e3f832ca7a65134035cf81e6d6f (diff)
parente0ae87051fb07c7f01b2b5bcf07df49469a30e5d (diff)
downloadnextcloud-server-710241f056aec3e27d5856b9388f09bb338c671b.tar.gz
nextcloud-server-710241f056aec3e27d5856b9388f09bb338c671b.zip
Merge pull request #12093 from AdamWill/storage-test-touch
storage test: use new file for testTouchCreateFile()
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/storage/storage.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php
index cf42523a5e2..960eb137ea0 100644
--- a/tests/lib/files/storage/storage.php
+++ b/tests/lib/files/storage/storage.php
@@ -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() {