Skip to content

Commit

Permalink
change url to route
Browse files Browse the repository at this point in the history
  • Loading branch information
AmonDeShir committed Aug 20, 2024
1 parent 6ea7c71 commit cc11c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/QuizTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function testUserCanStartQuiz(): void
"quiz_id" => $quiz->id,
])->firstOrFail();

$response->assertRedirect("/submissions/$submission->id/");
$response->assertRedirect(route("submissions.show", $submission->id));
}

public function testUserCannotStartAlreadyStartedQuiz(): void
Expand Down

0 comments on commit cc11c2e

Please sign in to comment.