Skip to content

Commit

Permalink
Improve participant registration test
Browse files Browse the repository at this point in the history
  • Loading branch information
avvertix committed Feb 10, 2024
1 parent 9e52f31 commit 9758bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/SelfRegistrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public function test_last_participant_can_self_register()

$this->travelBack();

$participant = Participant::latest()->first();
$participant = $race->participants()->where('bib', 100)->first();

$this->assertInstanceOf(Participant::class, $participant);
$this->assertEquals(100, $participant->bib);
Expand Down

0 comments on commit 9758bb5

Please sign in to comment.