diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index c258abbb077..3aedc75e9a2 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -440,6 +440,7 @@ constraint to test the validity of the email domain:: $result = $validator->validate('foo@example.com', $constraint); // ... + } } In order to avoid making a real network connection, add the ``@dns-sensitive`` @@ -464,6 +465,7 @@ the data you expect to get for the given hosts:: $result = $validator->validate('foo@example.com', $constraint); // ... + } } The ``withMockedHosts()`` method configuration is defined as an array. The keys