You are here

function Braintree_ConfigurationTest::testMerchantPath in Commerce Braintree 7

File

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

Class

Braintree_ConfigurationTest

Code

function testMerchantPath() {
  Braintree_Configuration::merchantId('abc123');
  $mp = Braintree_Configuration::merchantPath();
  $this
    ->assertEquals('/merchants/abc123', $mp);
  Braintree_Configuration::reset();
}