diff --git a/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php b/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php index e65b67880..3c14bbc4e 100644 --- a/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php +++ b/tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php @@ -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(); diff --git a/tests/Integration/Api/Client/Server/Allocation/CreateNewAllocationTest.php b/tests/Integration/Api/Client/Server/Allocation/CreateNewAllocationTest.php index d7ae9e5db..dba285d1b 100644 --- a/tests/Integration/Api/Client/Server/Allocation/CreateNewAllocationTest.php +++ b/tests/Integration/Api/Client/Server/Allocation/CreateNewAllocationTest.php @@ -12,7 +12,7 @@ class CreateNewAllocationTest extends ClientApiIntegrationTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Api/Client/Server/Backup/DeleteBackupTest.php b/tests/Integration/Api/Client/Server/Backup/DeleteBackupTest.php index 12a00c0c4..cb37abe2f 100644 --- a/tests/Integration/Api/Client/Server/Backup/DeleteBackupTest.php +++ b/tests/Integration/Api/Client/Server/Backup/DeleteBackupTest.php @@ -15,7 +15,7 @@ class DeleteBackupTest extends ClientApiIntegrationTestCase { private MockInterface $repository; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php b/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php index 79845bdd1..27c794009 100644 --- a/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php +++ b/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php @@ -18,7 +18,7 @@ class SftpAuthenticationControllerTest extends IntegrationTestCase /** * Sets up the tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/IntegrationTestCase.php b/tests/Integration/IntegrationTestCase.php index 779529168..97706721c 100644 --- a/tests/Integration/IntegrationTestCase.php +++ b/tests/Integration/IntegrationTestCase.php @@ -22,7 +22,7 @@ abstract class IntegrationTestCase extends TestCase 'Accept' => 'application/json', ]; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Allocations/FindAssignableAllocationServiceTest.php b/tests/Integration/Services/Allocations/FindAssignableAllocationServiceTest.php index d18caa3fb..a77571c31 100644 --- a/tests/Integration/Services/Allocations/FindAssignableAllocationServiceTest.php +++ b/tests/Integration/Services/Allocations/FindAssignableAllocationServiceTest.php @@ -13,7 +13,7 @@ class FindAssignableAllocationServiceTest extends IntegrationTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Databases/DatabaseManagementServiceTest.php b/tests/Integration/Services/Databases/DatabaseManagementServiceTest.php index fc0412be7..3121b480d 100644 --- a/tests/Integration/Services/Databases/DatabaseManagementServiceTest.php +++ b/tests/Integration/Services/Databases/DatabaseManagementServiceTest.php @@ -15,7 +15,7 @@ class DatabaseManagementServiceTest extends IntegrationTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Databases/DeployServerDatabaseServiceTest.php b/tests/Integration/Services/Databases/DeployServerDatabaseServiceTest.php index ab5807f89..957ce8052 100644 --- a/tests/Integration/Services/Databases/DeployServerDatabaseServiceTest.php +++ b/tests/Integration/Services/Databases/DeployServerDatabaseServiceTest.php @@ -18,7 +18,7 @@ class DeployServerDatabaseServiceTest extends IntegrationTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Deployment/FindViableNodesServiceTest.php b/tests/Integration/Services/Deployment/FindViableNodesServiceTest.php index bb5cece33..1cdbfafb3 100644 --- a/tests/Integration/Services/Deployment/FindViableNodesServiceTest.php +++ b/tests/Integration/Services/Deployment/FindViableNodesServiceTest.php @@ -10,7 +10,7 @@ use App\Services\Deployment\FindViableNodesService; class FindViableNodesServiceTest extends IntegrationTestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Servers/BuildModificationServiceTest.php b/tests/Integration/Services/Servers/BuildModificationServiceTest.php index 7e04f11c8..3a749ae57 100644 --- a/tests/Integration/Services/Servers/BuildModificationServiceTest.php +++ b/tests/Integration/Services/Servers/BuildModificationServiceTest.php @@ -21,7 +21,7 @@ class BuildModificationServiceTest extends IntegrationTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Servers/ServerCreationServiceTest.php b/tests/Integration/Services/Servers/ServerCreationServiceTest.php index 1e7e8b89a..cad91cada 100644 --- a/tests/Integration/Services/Servers/ServerCreationServiceTest.php +++ b/tests/Integration/Services/Servers/ServerCreationServiceTest.php @@ -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(); diff --git a/tests/Integration/Services/Servers/ServerDeletionServiceTest.php b/tests/Integration/Services/Servers/ServerDeletionServiceTest.php index 64778e58c..156b6f375 100644 --- a/tests/Integration/Services/Servers/ServerDeletionServiceTest.php +++ b/tests/Integration/Services/Servers/ServerDeletionServiceTest.php @@ -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(); diff --git a/tests/Integration/Services/Servers/SuspensionServiceTest.php b/tests/Integration/Services/Servers/SuspensionServiceTest.php index e9061ad71..4883b863b 100644 --- a/tests/Integration/Services/Servers/SuspensionServiceTest.php +++ b/tests/Integration/Services/Servers/SuspensionServiceTest.php @@ -15,7 +15,7 @@ class SuspensionServiceTest extends IntegrationTestCase /** * Setup test instance. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Integration/Services/Servers/VariableValidatorServiceTest.php b/tests/Integration/Services/Servers/VariableValidatorServiceTest.php index a558540eb..dbe145c7d 100644 --- a/tests/Integration/Services/Servers/VariableValidatorServiceTest.php +++ b/tests/Integration/Services/Servers/VariableValidatorServiceTest.php @@ -13,7 +13,7 @@ class VariableValidatorServiceTest extends IntegrationTestCase { protected Egg $egg; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/TestCase.php b/tests/TestCase.php index c666f9420..de5b7a440 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -13,7 +13,7 @@ abstract class TestCase extends BaseTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php b/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php index 19a43bdfd..a2be13184 100644 --- a/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php +++ b/tests/Unit/Http/Middleware/LanguageMiddlewareTest.php @@ -15,7 +15,7 @@ class LanguageMiddlewareTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php b/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php index 1689a343b..d0991de15 100644 --- a/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php +++ b/tests/Unit/Http/Middleware/MaintenanceMiddlewareTest.php @@ -17,7 +17,7 @@ class MaintenanceMiddlewareTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Unit/Http/Middleware/MiddlewareTestCase.php b/tests/Unit/Http/Middleware/MiddlewareTestCase.php index ee39b62c6..74f288b24 100644 --- a/tests/Unit/Http/Middleware/MiddlewareTestCase.php +++ b/tests/Unit/Http/Middleware/MiddlewareTestCase.php @@ -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(); diff --git a/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php b/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php index 527448bbf..6d0bd5362 100644 --- a/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php +++ b/tests/Unit/Http/Middleware/RedirectIfAuthenticatedTest.php @@ -15,7 +15,7 @@ class RedirectIfAuthenticatedTest extends MiddlewareTestCase /** * Setup tests. */ - public function setUp(): void + protected function setUp(): void { parent::setUp();