Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function test_renderer($dokuwikiMarkup, $expectedJSON, $msg) |
||
22 | { |
||
23 | global $ID; |
||
24 | $ID = 'wiki:syntax'; |
||
25 | $instructions = p_get_instructions($dokuwikiMarkup); |
||
26 | $doc = p_render('prosemirror', $instructions, $info); |
||
|
|||
27 | $this->assertJsonStringEqualsJsonString($expectedJSON, $doc, $msg); |
||
28 | } |
||
48 |