plugin()->render_text('[[a]]'); $this->assertStringContainsString('assertStringNotContainsString('[[a]]', $html); } public function testNullHonoursConfiguredSyntax() { global $conf; $conf['syntax'] = 'md'; // passing null honors the configured 'md' syntax, where DW internallink // is not loaded, so [[a]] survives as literal text $html = $this->plugin()->render_text('[[a]]', 'xhtml', null); $this->assertStringContainsString('[[a]]', $html); } }