You are here

function Braintree_TransparentRedirectTest::testUrl in Commerce Braintree 7

File

braintree_php/tests/integration/TransparentRedirectTest.php, line 254

Class

Braintree_TransparentRedirectTest

Code

function testUrl() {
  $url = Braintree_TransparentRedirect::url();
  $developmentPort = getenv("GATEWAY_PORT") ? getenv("GATEWAY_PORT") : 3000;
  $this
    ->assertEquals("http://localhost:" . $developmentPort . "/merchants/integration_merchant_id/transparent_redirect_requests", $url);
}