From 76d8dbb7555ab9b6b204a40698b9fbae3a863b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20K=2E=20H=C3=B8g=C3=A5s?= Date: Wed, 4 Oct 2023 20:02:24 +0200 Subject: [PATCH] style: fix tests/* after pint upgrade --- tests/Feature/FilesTest.php | 2 +- tests/Feature/TrainingExaminationsTest.php | 2 +- tests/Feature/TrainingObjectAttachmentTest.php | 2 +- tests/Feature/TrainingReportsTest.php | 2 +- tests/Feature/TrainingsTest.php | 2 +- tests/Unit/FileUnitTest.php | 2 +- tests/Unit/UserUnitTest.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/Feature/FilesTest.php b/tests/Feature/FilesTest.php index 76357230a..5ee40b8a0 100644 --- a/tests/Feature/FilesTest.php +++ b/tests/Feature/FilesTest.php @@ -12,7 +12,7 @@ class FilesTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; /** * Create a special tearDown method since we don't want our test files diff --git a/tests/Feature/TrainingExaminationsTest.php b/tests/Feature/TrainingExaminationsTest.php index b3307547b..8ed6cd7a4 100644 --- a/tests/Feature/TrainingExaminationsTest.php +++ b/tests/Feature/TrainingExaminationsTest.php @@ -12,7 +12,7 @@ class TrainingExaminationsTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; private $examination; diff --git a/tests/Feature/TrainingObjectAttachmentTest.php b/tests/Feature/TrainingObjectAttachmentTest.php index dfccfab7c..3838d9bdd 100644 --- a/tests/Feature/TrainingObjectAttachmentTest.php +++ b/tests/Feature/TrainingObjectAttachmentTest.php @@ -15,7 +15,7 @@ class TrainingObjectAttachmentTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; private $report; diff --git a/tests/Feature/TrainingReportsTest.php b/tests/Feature/TrainingReportsTest.php index 45e97a6d5..b7a5f7c92 100644 --- a/tests/Feature/TrainingReportsTest.php +++ b/tests/Feature/TrainingReportsTest.php @@ -12,7 +12,7 @@ class TrainingReportsTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; /** @test */ public function mentor_can_access_training_reports() diff --git a/tests/Feature/TrainingsTest.php b/tests/Feature/TrainingsTest.php index 080205142..59102c3d6 100644 --- a/tests/Feature/TrainingsTest.php +++ b/tests/Feature/TrainingsTest.php @@ -10,7 +10,7 @@ class TrainingsTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; // /** @test */ // public function user_can_create_a_training_request() diff --git a/tests/Unit/FileUnitTest.php b/tests/Unit/FileUnitTest.php index 8a652cd78..cfee56813 100644 --- a/tests/Unit/FileUnitTest.php +++ b/tests/Unit/FileUnitTest.php @@ -12,7 +12,7 @@ class FileUnitTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; private $controller; diff --git a/tests/Unit/UserUnitTest.php b/tests/Unit/UserUnitTest.php index 9f52f02bd..db300202d 100644 --- a/tests/Unit/UserUnitTest.php +++ b/tests/Unit/UserUnitTest.php @@ -11,7 +11,7 @@ class UserUnitTest extends TestCase { - use WithFaker, RefreshDatabase; + use RefreshDatabase, WithFaker; private $user;