Skip to content

Commit

Permalink
[TASK] Add missing test case for fetching none existing tea
Browse files Browse the repository at this point in the history
Dedicated test cases were added in the past.
This test case was not added yet.

Resolves: #858
  • Loading branch information
DanielSiepmann committed Nov 27, 2023
1 parent 53b0abd commit 38ccf67
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ public function findAllSortsByTitleInAscendingOrder(): void
self::assertSame(2, $result->current()->getUid());
}

/**
* @test
*/
public function findByUidForInexistentRecordReturnsNull(): void
{
$model = $this->subject->findByUid(1);

self::assertNull($model);
}

/**
* @test
*/
Expand Down

0 comments on commit 38ccf67

Please sign in to comment.