mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 08:56:56 +01:00
[TASK] Add missing test case for fetching none existing tea (#1017)
Dedicated test cases were added in the past. This test case was not added yet. Resolves: #858
This commit is contained in:
parent
53b0abd977
commit
58971754c4
1 changed files with 10 additions and 0 deletions
|
@ -66,6 +66,16 @@ final class TeaRepositoryTest extends FunctionalTestCase
|
|||
self::assertSame(2, $result->current()->getUid());
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
public function findByUidForInexistentRecordReturnsNull(): void
|
||||
{
|
||||
$model = $this->subject->findByUid(1);
|
||||
|
||||
self::assertNull($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue