Skip to content

Commit

Permalink
debug(tests): Debug the trashbin test
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed May 10, 2023
1 parent a3bf943 commit ccb92d6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/Integration/features/bootstrap/WebDav.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,10 +960,13 @@ public function userSeesNoFilesInTheTrashbin($user) {
// Remove the root entry to only have the directory listing
unset($response['/remote.php/dav/trashbin/' . $user . '/trash/']);

Assert::assertEquals(0, count($response));
}

$count = count($response);
if ($count !== 0) {
var_dump($response);
}

Assert::assertEquals(0, $count);
}

/**
* @param string $user
Expand Down

0 comments on commit ccb92d6

Please sign in to comment.