Skip to content

Commit ece9e7b

Browse files
committed
Fixed registration test
1 parent 6ef9eb7 commit ece9e7b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/Feature/Auth/RegistrationControllerTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ public function setUp(): void
3232
{
3333
parent::setUp();
3434

35+
// The default class for the factory is fighter,
36+
// Fighters use swords by default.
3537
$this->createItem([
36-
'name' => 'Rusty Dagger',
37-
'type' => 'weapon',
38+
'name' => 'Rusty blade',
39+
'type' => 'sword',
3840
'base_damage' => 3,
41+
'skill_level_required' => 1,
3942
]);
4043

4144
$this->createPassiveSkill();

0 commit comments

Comments
 (0)