Inject the TalkRepository into TalkCounter
This commit is contained in:
parent
29d88893fa
commit
afc0a0e448
3 changed files with 20 additions and 18 deletions
|
@ -47,7 +47,7 @@ final class TalkRepositoryTest extends TalksTestBase {
|
|||
'status' => NodeInterface::NOT_PUBLISHED,
|
||||
]);
|
||||
|
||||
$talks = $this->talkRepository->getAll(TRUE);
|
||||
$talks = $this->talkRepository->findAllPublished();
|
||||
|
||||
$this->assertCount(1, $talks);
|
||||
$this->assertSame('TDD - Test Driven Drupal', $talks->first()->label());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue