function Braintree_HttpTest::testSandboxSSL in Commerce Braintree 7
File
- braintree_php/
tests/ integration/ HttpTest.php, line 19
Class
Code
function testSandboxSSL() {
try {
Braintree_Configuration::environment('sandbox');
$this
->setExpectedException('Braintree_Exception_Authentication');
Braintree_Http::get('/');
} catch (Exception $e) {
Braintree_Configuration::environment('development');
throw $e;
}
Braintree_Configuration::environment('development');
}