diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index bfc6eaf0634..934c425d368 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -638,7 +638,7 @@ constraint to test the validity of the email domain:: } } -In order to avoid making a real network connection, add the ``@dns-sensitive`` +In order to avoid making a real network connection, add the ``@group dns-sensitive`` annotation to the class and use the ``DnsMock::withMockedHosts()`` to configure the data you expect to get for the given hosts::