diff options
author | Joas Schilling <coding@schilljs.com> | 2025-06-06 12:18:11 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2025-06-06 14:36:33 +0200 |
commit | a425a1affc54ba11752654e20dba80f988fa24f0 (patch) | |
tree | c1d60f9bdf932eaee54a2c55eae021a248c85ea1 | |
parent | b95a1653e695b9fc6b0d9b7955cb9c061d846d74 (diff) | |
download | nextcloud-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.php | 2 |
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')); } |