X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FTest%2FGuzzleTestTrait.php;h=c65e029dd76ab356d9afbebefc550624e1e3f251;hb=6b72ef2df2ded54c6e3faab071685f8f080c15db;hp=c372d3eee9e6ac4794b95e276bd6c2736c90310e;hpb=26c9d07d76761b9c771ecd5cb1760438a6b30d87;p=civicrm-core.git diff --git a/Civi/Test/GuzzleTestTrait.php b/Civi/Test/GuzzleTestTrait.php index c372d3eee9..c65e029dd7 100644 --- a/Civi/Test/GuzzleTestTrait.php +++ b/Civi/Test/GuzzleTestTrait.php @@ -11,7 +11,11 @@ use GuzzleHttp\Client; /** * Class GuzzleTestTrait * - * This trait defines a number of helper functions for testing guzzle. + * This trait defines a number of helper functions for testing Guzzle-based logic, + * such as a payment-processing gateway. + * + * Use this in a headless test for which you need to mock outbound HTTP requests from Civi. + * Alternatively, to write an E2E test with inbound HTTP requests to Civi, see HttpTestTrait. */ trait GuzzleTestTrait { /**