From: Eileen McNaughton Date: Tue, 2 Sep 2014 01:57:23 +0000 (+1200) Subject: test tidy up - put expected & actual in correct order X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1038ea01cd5e561bd65cc2d55a70023c99ae52ae;p=civicrm-core.git test tidy up - put expected & actual in correct order --- diff --git a/tests/phpunit/CRM/Member/BAO/MembershipTest.php b/tests/phpunit/CRM/Member/BAO/MembershipTest.php index 26238035f0..ef4592a7f8 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipTest.php @@ -549,8 +549,8 @@ class CRM_Member_BAO_MembershipTest extends CiviUnitTestCase { 'membership_id', 'Database checked on membershiplog record.' ); - $this->assertEquals($MembershipRenew->membership_type_id, $this->_membershipTypeID, 'Verify membership type is changed during renewal.'); - $this->assertEquals($MembershipRenew->end_date, $endDate, 'Verify correct end date is calculated after membership renewal'); + $this->assertEquals($this->_membershipTypeID, $MembershipRenew->membership_type_id, 'Verify membership type is changed during renewal.'); + $this->assertEquals($endDate, $MembershipRenew->end_date, 'Verify correct end date is calculated after membership renewal'); $this->membershipDelete($membershipId); Contact::delete($contactId);