mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 18:46:11 +01:00

[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.
This commit is contained in:
Oliver Klee 2022-04-29 14:54:41 +02:00 committed by GitHub
parent f1a0fbef04
commit 71a08a1c20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
{