From 9452e93f22afd9fe704a4105324642b17206c297 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 14 Sep 2024 11:36:57 +0200 Subject: [PATCH] Fix method visibility --- tests/integration/Api/Autocomplete/BillControllerTest.php | 2 +- tests/integration/Api/Autocomplete/BudgetControllerTest.php | 2 +- tests/integration/Api/Autocomplete/CategoryControllerTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/Api/Autocomplete/BillControllerTest.php b/tests/integration/Api/Autocomplete/BillControllerTest.php index 73f295bbed..aaea8b9947 100644 --- a/tests/integration/Api/Autocomplete/BillControllerTest.php +++ b/tests/integration/Api/Autocomplete/BillControllerTest.php @@ -43,7 +43,7 @@ final class BillControllerTest extends TestCase */ use RefreshDatabase; - private function createAuthenticatedUser(): User + protected function createAuthenticatedUser(): User { $userGroup = UserGroup::create(['title' => 'Test Group']); diff --git a/tests/integration/Api/Autocomplete/BudgetControllerTest.php b/tests/integration/Api/Autocomplete/BudgetControllerTest.php index cec339a6e1..d3d77e006e 100644 --- a/tests/integration/Api/Autocomplete/BudgetControllerTest.php +++ b/tests/integration/Api/Autocomplete/BudgetControllerTest.php @@ -43,7 +43,7 @@ final class BudgetControllerTest extends TestCase */ use RefreshDatabase; - private function createAuthenticatedUser(): User + protected function createAuthenticatedUser(): User { $userGroup = UserGroup::create(['title' => 'Test Group']); diff --git a/tests/integration/Api/Autocomplete/CategoryControllerTest.php b/tests/integration/Api/Autocomplete/CategoryControllerTest.php index 3ed8dced2b..f52e5d3479 100644 --- a/tests/integration/Api/Autocomplete/CategoryControllerTest.php +++ b/tests/integration/Api/Autocomplete/CategoryControllerTest.php @@ -42,7 +42,7 @@ final class CategoryControllerTest extends TestCase */ use RefreshDatabase; - private function createAuthenticatedUser(): User + protected function createAuthenticatedUser(): User { return User::create([ 'email' => 'test@email.com',