From 71a08a1c20d88a3b9e40a93cb4845190c82d5c05 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Fri, 29 Apr 2022 14:54:41 +0200 Subject: [PATCH] [BUGFIX] Mark the repository test as also covering the model (#436) We currently can only test the lazy loading of the model image with a functional test that retrieves a model from the database via the repository. So the functional test for the repository also needs to be marked as covering the model class to make our code coverage correct. --- Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php index a4359d3..e20c224 100644 --- a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php +++ b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php @@ -15,6 +15,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * @covers \TTN\Tea\Domain\Repository\Product\TeaRepository + * @covers \TTN\Tea\Domain\Model\Product\Tea */ class TeaRepositoryTest extends FunctionalTestCase {