CRM-19973 Set settings defaults during reset function.
authoreileen <emcnaughton@wikimedia.org>
Sun, 5 Feb 2017 23:51:09 +0000 (12:51 +1300)
committereileen <emcnaughton@wikimedia.org>
Sun, 5 Mar 2017 22:20:20 +0000 (11:20 +1300)
commit33fefd54607b755ff3f341131b573121e3a81547
tree897b14a6d95b1169417b07e161873a8f8f5deddb
parentc9dbc47c1a676a05908675c9fe5a0b11f4562a79
CRM-19973 Set settings defaults during reset function.

I used buildkit to generate & run the extension test. The issue was that the settings
were being loaded but later the \Civi::reset(); function was being called - From the testListener I think
and it was flushing the settings bag so it no longer held default variables

I did look at putting this in the boot function instead and only rejected that for fear of unintended
consequences.
Civi/Test/CiviTestListener.php