mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 15:16:13 +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:
Daniel Siepmann 2023-11-27 13:36:42 +01:00 committed by GitHub
parent 53b0abd977
commit 58971754c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,16 @@ final class TeaRepositoryTest extends FunctionalTestCase
self::assertSame(2, $result->current()->getUid()); self::assertSame(2, $result->current()->getUid());
} }
/**
* @test
*/
public function findByUidForInexistentRecordReturnsNull(): void
{
$model = $this->subject->findByUid(1);
self::assertNull($model);
}
/** /**
* @test * @test
*/ */