Lines Matching refs:conf
35 * Test to ensure that every conf['...'] entry in conf/default.php has a corresponding meta['...'] entry in
36 * conf/metadata.php.
39 $conf_file = __DIR__.'/../conf/default.php';
43 $meta_file = __DIR__.'/../conf/metadata.php';
48 $this->assertEquals(gettype($conf), gettype($meta),'Both ' . DOKU_PLUGIN . 'structodt/conf/default.php and ' . DOKU_PLUGIN . 'structodt/conf/metadata.php have to exist and contain the same keys.');
50 if (gettype($conf) != 'NULL' && gettype($meta) != 'NULL') {
51 foreach($conf as $key => $value) {
52 $this->assertArrayHasKey($key, $meta, 'Key $meta[\'' . $key . '\'] missing in ' . DOKU_PLUGIN . 'structodt/conf/metadata.php');
56 $this->assertArrayHasKey($key, $conf, 'Key $conf[\'' . $key . '\'] missing in ' . DOKU_PLUGIN . 'structodt/conf/default.php');