From ac40bc83a89edbefbf5192e65da5b577bbfc1880 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Wed, 23 Oct 2019 20:03:19 +0300 Subject: [PATCH] Debug smb test --- apps/files_external/tests/Storage/SmbTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/files_external/tests/Storage/SmbTest.php b/apps/files_external/tests/Storage/SmbTest.php index d7887e6e8fb9..3edd8d27db04 100644 --- a/apps/files_external/tests/Storage/SmbTest.php +++ b/apps/files_external/tests/Storage/SmbTest.php @@ -70,9 +70,10 @@ public function directoryProvider() { public function testRenameWithSpaces() { $this->instance->mkdir('with spaces'); + $this->assertTrue($this->instance->is_dir('foo bar'), 'Failed to create directory with spaces'); $result = $this->instance->rename('with spaces', 'foo bar'); - $this->assertTrue($result); - $this->assertTrue($this->instance->is_dir('foo bar')); + $this->assertTrue($result, 'Failed to rename dir'); + $this->assertTrue($this->instance->is_dir('foo bar'), 'Failed to locate the dir with a new name'); } public function testStorageId() {