Switch static var to using Civi::statics
authoreileen <emcnaughton@wikimedia.org>
Sun, 22 Dec 2019 05:40:58 +0000 (18:40 +1300)
committereileen <emcnaughton@wikimedia.org>
Sun, 22 Dec 2019 05:46:53 +0000 (18:46 +1300)
commitdb1aa0d1f32215d68080dbd9286dd4dcc7cd705b
treeb452d4200a08c149c6948151f3324858b3fe0dcf
parent2ca9b2ee6e280dcc9433c98c09258b44c7e9146c
Switch static var to using Civi::statics

This static variable is actually problematic. Moving it to statics will allow us to stop reseting it
in the test suite & to hone in on where it is actually broken rather than the test suite
is not flushing it
CRM/Member/BAO/Membership.php
tests/phpunit/CiviTest/CiviUnitTestCase.php