Skip to content

Firefly III: a personal finances manager

Fix method visibility

James Cole9452e93f22af
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' => '[email protected]',