test tidy up - put expected & actual in correct order
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 2 Sep 2014 01:57:23 +0000 (13:57 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 2 Sep 2014 01:57:23 +0000 (13:57 +1200)
tests/phpunit/CRM/Member/BAO/MembershipTest.php

index 26238035f05810d2fbc7f16bd39faba040ba166b..ef4592a7f8c4437677e3b75c2d8a1e26b89aa928 100644 (file)
@@ -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);