aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-06-06 12:18:11 +0200
committerJoas Schilling <coding@schilljs.com>2025-06-06 14:36:33 +0200
commita425a1affc54ba11752654e20dba80f988fa24f0 (patch)
treec1d60f9bdf932eaee54a2c55eae021a248c85ea1
parentb95a1653e695b9fc6b0d9b7955cb9c061d846d74 (diff)
downloadnextcloud-server-a425a1affc54ba11752654e20dba80f988fa24f0.tar.gz
nextcloud-server-a425a1affc54ba11752654e20dba80f988fa24f0.zip
test: Add a hint message on boolean comparison
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--tests/lib/Files/Storage/Storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Storage/Storage.php b/tests/lib/Files/Storage/Storage.php
index c6f051fb7e1..99162e12834 100644
--- a/tests/lib/Files/Storage/Storage.php
+++ b/tests/lib/Files/Storage/Storage.php
@@ -557,7 +557,7 @@ abstract class Storage extends \Test\TestCase {
$this->instance->copy('source', 'target');
- $this->assertFalse($this->instance->file_exists('target/test2.txt'));
+ $this->assertFalse($this->instance->file_exists('target/test2.txt'), 'File target/test2.txt should no longer exist, but does');
$this->assertEquals('foo', $this->instance->file_get_contents('target/test1.txt'));
}