add and use RTTestCase::myStringStatic()
authorDenis Ovsienko <denis@ovsienko.info>
Mon, 12 Nov 2018 10:47:13 +0000 (10:47 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Mon, 12 Nov 2018 10:47:13 +0000 (10:47 +0000)
commit080e5410333de0ca258fccbb0ff107e0d348f6ec
tree0031da81a363ee4f019d780cde0a7310007cf6a9
parent43eb59a04506f2228fc87d4dcf27edc410d8bce2
add and use RTTestCase::myStringStatic()

Even after the introduction of RTTestCase::myString() some tests
continued to use fixed strings for the database props naming in their
static setup methods. When such a test failed in a way that prevented the
teardown method to run, that would fail subsequent attempts to run the
setup method until the props were manually removed or the unit test
database contents was reset.

Introduce a static counterpart of the existing solution and update the
following classes to use it:

* EntityLinkTriggerTest
* GetChildrenListTest
* ObjectCircularReferenceTest
* ObjectLogTest
tests/EntityLinkTriggerTest.php
tests/GetChildrenListTest.php
tests/ObjectCircularReferenceTest.php
tests/ObjectLogTest.php
tests/bootstrap_common.php