mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 15:23:44 +02:00
Add tests for all of the account actions
This commit is contained in:
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 New Issue
Block a user