1<?php
2/**
3 * @group plugin_pageimage
4 * @group plugins
5 */
6class syntax_plugin_pageimage_test extends DokuwikiTest {
7    protected $pluginsEnabled = array('pageimage');
8
9    public function test_metadata() {
10        saveWikiText('pageimage:page','~~PAGEIMAGE:pageimage:png~~','Test setup');
11        $this->assertEquals('pageimage:png',p_get_metadata('pageimage:page','pageimage'));
12    }
13    public function test_xhtml() {
14        $xhtml = p_render('xhtml', p_get_instructions('~~PAGEIMAGE:pageimage:png~~'), $info);
15        $this->assertEquals($xhtml,'');
16    }
17
18
19}