pluginsEnabled = [ 'testing' ]; $out = "assertEquals('Protected Title', $conf['title'], 'protected local value, overrides local'); $this->assertEquals('Protected Tagline', $conf['tagline'], 'protected local value, override default'); $testing = plugin_load('action', 'testing'); $this->assertEquals(1, $testing->getConf('schnibble'), 'protected local value, '); $this->assertEquals('Protected setting', $testing->getConf('second'), 'protected local value'); } public function tearDown(): void { global $config_cascade; unlink(end($config_cascade['main']['protected'])); parent::tearDown(); } }