[REF] Convert one of the http calls in Authorize.net class to use guzzle.
authoreileen <emcnaughton@wikimedia.org>
Mon, 1 Jun 2020 12:09:45 +0000 (00:09 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 1 Jun 2020 19:46:55 +0000 (07:46 +1200)
commit9fa25593b2889e291390644082cbab16cacb3376
tree74f2af3301a824792a8e4c07ce9424150eb83f08
parent9c15aa5ca32856a2a2ed0c08c19821d507e9fdfd
[REF] Convert one of the http calls in Authorize.net class to use guzzle.

This achieves the following
1) addresses a cause of intermittent test failures
2) starts the process of modelling how payment processors should be written in a best-practice, tested way in core
3) stops us interacting with A.net during tests
4) starts to reduce curl dependency
CRM/Core/Payment/AuthorizeNet.php
Civi/Test/GuzzleTestTrait.php [new file with mode: 0644]
tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php