mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 10:24:45 +02:00
Fix tests visibility
This commit is contained in:
parent
6d3da18bf6
commit
f5269e7e5c
@ -28,7 +28,7 @@ abstract class ApplicationApiIntegrationTestCase extends IntegrationTestCase
|
||||
* Bootstrap application API tests. Creates a default admin user and associated API key
|
||||
* and also sets some default headers required for accessing the API.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -12,7 +12,7 @@ class CreateNewAllocationTest extends ClientApiIntegrationTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -15,7 +15,7 @@ class DeleteBackupTest extends ClientApiIntegrationTestCase
|
||||
{
|
||||
private MockInterface $repository;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -18,7 +18,7 @@ class SftpAuthenticationControllerTest extends IntegrationTestCase
|
||||
/**
|
||||
* Sets up the tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -22,7 +22,7 @@ abstract class IntegrationTestCase extends TestCase
|
||||
'Accept' => 'application/json',
|
||||
];
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -13,7 +13,7 @@ class FindAssignableAllocationServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -15,7 +15,7 @@ class DatabaseManagementServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -18,7 +18,7 @@ class DeployServerDatabaseServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -10,7 +10,7 @@ use App\Services\Deployment\FindViableNodesService;
|
||||
|
||||
class FindViableNodesServiceTest extends IntegrationTestCase
|
||||
{
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -21,7 +21,7 @@ class BuildModificationServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -30,7 +30,7 @@ class ServerCreationServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Stub the calls to daemon so that we don't actually hit those API endpoints.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -25,7 +25,7 @@ class ServerDeletionServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Stub out services that we don't want to test in here.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -15,7 +15,7 @@ class SuspensionServiceTest extends IntegrationTestCase
|
||||
/**
|
||||
* Setup test instance.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -13,7 +13,7 @@ class VariableValidatorServiceTest extends IntegrationTestCase
|
||||
{
|
||||
protected Egg $egg;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -13,7 +13,7 @@ abstract class TestCase extends BaseTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -15,7 +15,7 @@ class LanguageMiddlewareTest extends MiddlewareTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -17,7 +17,7 @@ class MaintenanceMiddlewareTest extends MiddlewareTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -16,7 +16,7 @@ abstract class MiddlewareTestCase extends TestCase
|
||||
/**
|
||||
* Setup tests with a mocked request object and normal attributes.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -15,7 +15,7 @@ class RedirectIfAuthenticatedTest extends MiddlewareTestCase
|
||||
/**
|
||||
* Setup tests.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user