From b4b1bb45185ef2d0732f775b99c589a350ae04ea Mon Sep 17 00:00:00 2001 From: Joe FRANCOIS Date: Tue, 26 Mar 2024 21:45:17 +0100 Subject: [PATCH] test: calls the fake function from helper instead for php8.x prefer-lowest --- .../Storage/ExpoPendingNotificationStorageTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Feature/Storage/ExpoPendingNotificationStorageTest.php b/tests/Feature/Storage/ExpoPendingNotificationStorageTest.php index 5bf7059..ffae199 100644 --- a/tests/Feature/Storage/ExpoPendingNotificationStorageTest.php +++ b/tests/Feature/Storage/ExpoPendingNotificationStorageTest.php @@ -14,11 +14,11 @@ for ($i = 0; $i < 120; $i++) { $this->expoMessages[$i] = ExpoMessage::create() - ->to([fake()->uuid]) - ->title(fake()->sentence) - ->body(fake()->paragraph) - ->jsonData(['foo' => fake()->slug]) - ->shouldBatch(fake()->boolean) + ->to([$this->fake()->uuid]) + ->title($this->fake()->sentence) + ->body($this->fake()->paragraph) + ->jsonData(['foo' => $this->fake()->slug]) + ->shouldBatch($this->fake()->boolean) ->toJson(); }