Skip to content

Commit

Permalink
test: calls the fake function from helper instead for php8.x prefer-l…
Browse files Browse the repository at this point in the history
…owest
  • Loading branch information
joemugen committed Mar 26, 2024
1 parent fcb41e3 commit b4b1bb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Feature/Storage/ExpoPendingNotificationStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit b4b1bb4

Please sign in to comment.