You are here

static function Braintree_SubscriptionTestHelper::sortModificationsById in Commerce Braintree 7

7 calls to Braintree_SubscriptionTestHelper::sortModificationsById()
Braintree_SubscriptionTest::testCreate_allowsAddingNewAddOnsAndDiscounts in braintree_php/tests/integration/SubscriptionTest.php
Braintree_SubscriptionTest::testCreate_allowsOverridingInheritedAddOnsAndDiscounts in braintree_php/tests/integration/SubscriptionTest.php
Braintree_SubscriptionTest::testCreate_inheritsAddOnsAndDiscountsFromPlanByDefault in braintree_php/tests/integration/SubscriptionTest.php
Braintree_SubscriptionTest::testUpdate_canAddAndRemoveAddOnsAndDiscounts in braintree_php/tests/integration/SubscriptionTest.php
Braintree_SubscriptionTest::testUpdate_canReplaceEntireSetOfAddonsAndDiscounts in braintree_php/tests/integration/SubscriptionTest.php

... See full list

File

braintree_php/tests/integration/SubscriptionTestHelper.php, line 80

Class

Braintree_SubscriptionTestHelper

Code

static function sortModificationsById(&$modifications) {
  usort($modifications, array(
    "Braintree_SubscriptionTestHelper",
    "compareModificationsById",
  ));
}