You are here

function Braintree_ConfigurationTest::testSetValidEnvironment in Commerce Braintree 7

File

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

Class

Braintree_ConfigurationTest

Code

function testSetValidEnvironment() {
  Braintree_Configuration::environment('sandbox');
  $this
    ->assertEquals('sandbox', Braintree_Configuration::environment());
  Braintree_Configuration::reset();
}