diff --git a/docs/hooks/usage/symfony.md b/docs/hooks/usage/symfony.md index 762e435a471f5c025e5d922a7ea58b4d284fdcf2..3bd4491ab8f0f43b937f1d89f3ea6a2bec263fd8 100644 --- a/docs/hooks/usage/symfony.md +++ b/docs/hooks/usage/symfony.md @@ -47,7 +47,7 @@ methods will be automatically registered with the eponymous events. ```php use Civi\Test\HeadlessInterface; -use Civi\Test\HookInterface; +use Civi\Core\HookInterface; use PHPUnit\Framework\TestCase; class MyTest extends TestCase implements HeadlessInterface, HookInterface { diff --git a/docs/testing/phpunit.md b/docs/testing/phpunit.md index 449966c49439b8b374d35d06d655de47cac21e7e..27fc32c71104f5eff9ae9bebe6953510cfe5fe10 100644 --- a/docs/testing/phpunit.md +++ b/docs/testing/phpunit.md @@ -431,7 +431,7 @@ The `\Civi\Test\HeadlessInterface` marks a test-class as [headless](index.md#hea #### HookInterface -The `\Civi\Test\HookInterface` simplifies testing of CiviCRM hooks and events. Your test may listen to a hook by adding an eponymous function. For example, this listens to `hook_civicrm_post`: +The `\Civi\Core\HookInterface` simplifies testing of CiviCRM hooks and events. Your test may listen to a hook by adding an eponymous function. For example, this listens to `hook_civicrm_post`: ```php class MyTest extends PHPUnit_Framework_TestCase