mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-24 01:03:46 +02:00
Update interface to begin change to seperate account API keys and application keys
Main difference is permissions, cleaner UI for normal users, and account keys use permissions assigned to servers and subusers while application keys use R/W ACLs stored in the key table.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Cake\Chronos\Chronos;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
@@ -18,6 +19,16 @@ abstract class TestCase extends BaseTestCase
|
||||
$this->setKnownUuidFactory();
|
||||
}
|
||||
|
||||
/**
|
||||
* Tear down tests.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
parent::tearDown();
|
||||
|
||||
Chronos::setTestNow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the known UUID handling in certain unit tests. Use the "KnownUuid" trait
|
||||
* in order to enable this ability.
|
||||
|
||||
Reference in New Issue
Block a user