From 1038ea01cd5e561bd65cc2d55a70023c99ae52ae Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 2 Sep 2014 13:57:23 +1200 Subject: [PATCH] test tidy up - put expected & actual in correct order --- tests/phpunit/CRM/Member/BAO/MembershipTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.25.1