Skip to content

Commit

Permalink
Fixed tests after PPRFirstNameEmailService updates
Browse files Browse the repository at this point in the history
  • Loading branch information
abujeda committed Dec 19, 2024
1 parent be08dd3 commit a13baf5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ public function test_register_should_register_service_hooks_when_firstNameEmailE
$target = new PPRFirstNameEmailService($pprPluginMock);
$target->register();

$this->assertEquals(7, $this->countHooks());
$this->assertEquals(9, $this->countHooks());
$this->assertEquals(1, count($this->getHooks('Mail::send')));
$this->assertEquals(1, count($this->getHooks('reviewreminderform::display')));
$this->assertEquals(1, count($this->getHooks('thankreviewerform::display')));
$this->assertEquals(1, count($this->getHooks('sendreviewsform::display')));
$this->assertEquals(1, count($this->getHooks('TemplateManager::fetch')));
$this->assertEquals(1, count($this->getHooks('advancedsearchreviewerform::display')));
$this->assertEquals(1, count($this->getHooks('createreviewerform::display')));
$this->assertEquals(1, count($this->getHooks('createreviewerform::execute')));
$this->assertEquals(1, count($this->getHooks('LoadComponentHandler')));
}

Expand Down

0 comments on commit a13baf5

Please sign in to comment.