Skip to content

Commit

Permalink
Roll back unnecessary change.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Dec 17, 2024
1 parent 5f5558f commit 2dbaf3b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
namespace VuFindTest\Command\ScheduledSearch;

use DateTime;
use Laminas\Mvc\I18n\Translator;
use PHPUnit\Framework\MockObject\MockObject;
use Symfony\Component\Console\Tester\CommandTester;
use VuFind\Db\Entity\SearchEntityInterface;
Expand Down Expand Up @@ -302,7 +301,7 @@ public function testNotificationsWithNewSearchResults(): void
$this->equalTo('My Site: translated text'),
$this->equalTo($message)
);
$translator = $this->container->createMock(Translator::class);
$translator = $this->container->createMock(\Laminas\Mvc\I18n\Translator\Translator::class);
$translator->expects($this->once())->method('translate')
->with($this->equalTo('Scheduled Alert Results'))
->willReturn('translated text');
Expand Down

0 comments on commit 2dbaf3b

Please sign in to comment.