CRM/Logging - Remove obsolete cache static clear in test
authorPatrick Figel <pfigel@greenpeace.org>
Sat, 9 May 2020 02:20:22 +0000 (04:20 +0200)
committerPatrick Figel <pfigel@greenpeace.org>
Sat, 9 May 2020 02:20:23 +0000 (04:20 +0200)
commit70671c35087c4206053308dcc904e1e3bb68203f
tree2025213924e26e6d3c5811fcc1067fea4222353e
parent8ff069d9a4c3781ec6496894477057d3d11e992d
CRM/Logging - Remove obsolete cache static clear in test

This simplifies CRM_Logging_SchemaTest::testLengthChange() and
CRM_Logging_SchemaTest::testEnumChange() by removing a manual reset on
a cache static and a second call to
CRM_Logging_Schema::fixSchemaDifferences(). This was made obsolete by
a40a5a4875bf5caa03eaa8732c958f5c714c7b61, which has added a cache flush
to fixSchemaDifferences() via fixSchemaDifferencesForAll().
tests/phpunit/CRM/Logging/SchemaTest.php