4e: Add getAll() method
This commit is contained in:
parent
f194015f30
commit
f38f21fdc8
2 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ class ArticleRepositoryTest extends EntityKernelTestBase {
|
|||
/** @test */
|
||||
public function it_returns_blog_posts() {
|
||||
$repository = $this->container->get(ArticleRepository::class);
|
||||
$articles = $repository->getAll();
|
||||
|
||||
$this->assertCount(1, $articles);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue