You are here

function Braintree_SubscriptionTest::testUpdate_invalidSubscriptionId in Commerce Braintree 7

File

braintree_php/tests/integration/SubscriptionTest.php, line 729

Class

Braintree_SubscriptionTest

Code

function testUpdate_invalidSubscriptionId() {
  $this
    ->setExpectedException('Braintree_Exception_NotFound');
  Braintree_Subscription::update('does-not-exist', array());
}