Use a better name for method
[MAILPOET-2439]
This commit is contained in:
committed by
Jack Kitterhing
parent
45eb3d39c2
commit
f1934ff880
@ -68,7 +68,7 @@ class SchedulerTest extends \MailPoetUnitTest {
|
||||
|
||||
$this->repository
|
||||
->expects($this->once())
|
||||
->method('findAllForNewsletter')
|
||||
->method('findByNewsletterId')
|
||||
->with($newsletter_id)
|
||||
->willReturn([]);
|
||||
|
||||
@ -108,7 +108,7 @@ class SchedulerTest extends \MailPoetUnitTest {
|
||||
|
||||
$this->repository
|
||||
->expects($this->once())
|
||||
->method('findAllForNewsletter')
|
||||
->method('findByNewsletterId')
|
||||
->with($newsletter_id)
|
||||
->willReturn([]);
|
||||
|
||||
@ -230,7 +230,7 @@ class SchedulerTest extends \MailPoetUnitTest {
|
||||
|
||||
$this->repository
|
||||
->expects($this->once())
|
||||
->method('findAllForNewsletter')
|
||||
->method('findByNewsletterId')
|
||||
->with($newsletter_id)
|
||||
->willReturn([new ScheduledTaskEntity()]);
|
||||
$this->entityManager
|
||||
|
Reference in New Issue
Block a user