Add tests for all of the account actions
This commit is contained in:
parent
be2c76c24a
commit
d9a09e92bd
9 changed files with 243 additions and 24 deletions
23
tests/Browser/Processes/Dashboard/DashboardTestCase.php
Normal file
23
tests/Browser/Processes/Dashboard/DashboardTestCase.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?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.
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->user = $this->user();
|
||||
}
|
||||
}
|
Reference in a new issue