Write tests - Write tests for what was done to this point that will be kept #11

Merged
okorpheus merged 61 commits from write-tests into master 2024-07-05 21:21:32 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 33d0b6ca55 - Show all commits

View File

@ -17,7 +17,7 @@ class RoomFactory extends Factory
public function definition(): array
{
return [
'name' => 'Room '.fake()->numberBetween(7, 500),
'name' => 'Room '.fake()->unique()->numberBetween(7, 500),
'description' => fake()->sentence(),
];
}

View File

@ -90,9 +90,9 @@ it('shows existing entries in a table', function () {
$response->
assertSeeInOrder([
'<td',
$entry->student->full_name(true),
e($entry->student->full_name(true)),
$entry->student->grade,
$entry->audition->name,
e($entry->audition->name),
'</td>',
], false);
}