assertSame($helper->in_namespace($namespace_list,$id),$result,$msg); } public function test_isActive() { global $conf; $conf['plugin']['publish']['no_apr_namespaces'] = 'de:sidebar en:sidebar'; /** @var helper_plugin_publish $helper */ $helper = plugin_load('helper', 'publish'); $this->assertFalse($helper->isActive('de:sidebar'), 'de:sidebar is still listed as active'); $this->assertFalse($helper->isActive('en:sidebar'), 'en:sidebar is still listed as active'); } }