Added happyr/doctrine-specification to support dunamically applying specs to queries

This commit is contained in:
Alejandro Celaya
2021-01-02 17:14:42 +01:00
parent 90551ff3bc
commit ecf22ae4b6
11 changed files with 48 additions and 28 deletions

View File

@@ -51,7 +51,7 @@ class TagServiceTest extends TestCase
{
$expected = [new TagInfo(new Tag('foo'), 1, 1), new TagInfo(new Tag('bar'), 3, 10)];
$find = $this->repo->findTagsWithInfo()->willReturn($expected);
$find = $this->repo->findTagsWithInfo(null)->willReturn($expected);
$result = $this->service->tagsInfo();