Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/Middleware/SetUpTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ trait SetUpTrait
protected RequestHandlerInterface $defaultPayloadHandler;
protected ?ServerRequest $recentlyHandledRequest;
protected RampageRequestHandler $handler;
protected Horde_Auth_Base $authDriver;

protected function setUp(): void
{
Expand Down
11 changes: 7 additions & 4 deletions test/RegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@
*/
class RegistryTest extends TestCase
{
protected $_tmpdir;
protected string $_tmpdir = '';

public function tearDown(): void
{
if (is_dir($this->_tmpdir)) {
rmdir($this->_tmpdir);
rmdir(dirname($this->_tmpdir));
if ($this->_tmpdir != '') {
if (is_dir($this->_tmpdir)) {
rmdir($this->_tmpdir);
rmdir(dirname($this->_tmpdir));
}
$this->_tmpdir = '';
}
}

Expand Down