2018-07-15 22:58:24 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Tests\Browser\Processes\Dashboard;
|
|
|
|
|
|
|
|
use Pterodactyl\Tests\Browser\BrowserTestCase;
|
|
|
|
|
|
|
|
abstract class DashboardTestCase extends BrowserTestCase
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var \Pterodactyl\Models\User
|
|
|
|
*/
|
|
|
|
protected $user;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Setup tests and provide a default user to calling functions.
|
|
|
|
*/
|
2020-05-09 16:00:52 +00:00
|
|
|
protected function setUp(): void
|
2018-07-15 22:58:24 +00:00
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
$this->user = $this->user();
|
|
|
|
}
|
|
|
|
}
|