You are here

function Braintree_ConfigurationTest::testBaseUrl in Commerce Braintree 7

File

braintree_php/tests/unit/ConfigurationTest.php, line 140

Class

Braintree_ConfigurationTest

Code

function testBaseUrl() {
  Braintree_Configuration::environment('sandbox');
  $bu = Braintree_Configuration::baseUrl();
  $this
    ->assertEquals('https://sandbox.braintreegateway.com:443', $bu);
  Braintree_Configuration::reset();
}