Skip to content

Commit

Permalink
Debug smb test
Browse files Browse the repository at this point in the history
  • Loading branch information
VicDeo committed Oct 23, 2019
1 parent e6a5c9f commit ac40bc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/files_external/tests/Storage/SmbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit ac40bc8

Please sign in to comment.