mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 20:54:20 +01:00
Tests 3
This commit is contained in:
@@ -41,10 +41,11 @@ final class ClaimSeasonCommandTest extends KernelTestCase
|
||||
]);
|
||||
|
||||
$season = $this->seasonRepository->findOneBySeasonCode('krtek');
|
||||
|
||||
$this->assertInstanceOf(Season::class, $season);
|
||||
|
||||
$this->assertSame(Command::SUCCESS, $this->commandTester->getStatusCode());
|
||||
$this->assertCount(1, $season->owners);
|
||||
$this->assertCount(3, $season->owners);
|
||||
}
|
||||
|
||||
public function testInvalidEmailFails(): void
|
||||
|
||||
Reference in New Issue
Block a user