Refactor
This commit is contained in:
parent
f1c1f18b93
commit
988cdeb24d
1 changed files with 3 additions and 3 deletions
|
@ -21,12 +21,12 @@ final class DailyEmailNodeRepositoryTest extends EntityKernelTestBase {
|
|||
public function test_get_all_published_daily_emails(): void {
|
||||
$this->createDailyEmailNode(
|
||||
isPublished: TRUE,
|
||||
title: 'A published daily email',
|
||||
title: 'Published',
|
||||
);
|
||||
|
||||
$this->createDailyEmailNode(
|
||||
isPublished: FALSE,
|
||||
title: 'An unpublished daily email',
|
||||
title: 'Unpublished',
|
||||
);
|
||||
|
||||
$repository = $this->container->get(DailyEmailNodeRepository::class);
|
||||
|
@ -40,8 +40,8 @@ final class DailyEmailNodeRepositoryTest extends EntityKernelTestBase {
|
|||
);
|
||||
|
||||
$this->assertSame(
|
||||
expected: 'A published daily email',
|
||||
actual: $emails->first()->label(),
|
||||
expected: 'Published',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue