Skip to content

Commit

Permalink
Merge pull request #22820 from demeritcowboy/recurforms
Browse files Browse the repository at this point in the history
[NFC] Rename RecurForms test class
  • Loading branch information
colemanw authored Feb 23, 2022
2 parents 2107ac8 + 9bb5c4b commit dd1bb7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion tests/phpunit/CRM/Contribute/Form/CancelSubscriptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
/**
* Class CRM_Contribute_Form_UpdateSubscriptionTest
*/
class CRM_Contribute_Form_CancelSubscriptionTest extends CRM_Contribute_Form_RecurForms {
class CRM_Contribute_Form_CancelSubscriptionTest extends CiviUnitTestCase {

use CRMTraits_Contribute_RecurFormsTrait;

/**
* Test the mail sent on update.
Expand Down
4 changes: 3 additions & 1 deletion tests/phpunit/CRM/Contribute/Form/UpdateSubscriptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
/**
* Class CRM_Contribute_Form_UpdateSubscriptionTest
*/
class CRM_Contribute_Form_UpdateSubscriptionTest extends CRM_Contribute_Form_RecurForms {
class CRM_Contribute_Form_UpdateSubscriptionTest extends CiviUnitTestCase {

use CRMTraits_Contribute_RecurFormsTrait;

/**
* Test the mail sent on update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
*/

/**
* Class CRM_Contribute_Form_UpdateSubscriptionTest
* Trait CRMTraits_Contribute_RecurFormsTrait
*/
class CRM_Contribute_Form_RecurForms extends CiviUnitTestCase {
trait CRMTraits_Contribute_RecurFormsTrait {

/**
* @var int
Expand Down

0 comments on commit dd1bb7a

Please sign in to comment.