diff --git a/pprOjsPlugin/tests/src/services/email/PPRFirstNameEmailServiceTest.php b/pprOjsPlugin/tests/src/services/email/PPRFirstNameEmailServiceTest.php index 6e58f06..fa0d49b 100644 --- a/pprOjsPlugin/tests/src/services/email/PPRFirstNameEmailServiceTest.php +++ b/pprOjsPlugin/tests/src/services/email/PPRFirstNameEmailServiceTest.php @@ -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'))); }