Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
1 / 1
phpbb_textreparser_forum_description_test
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
1 / 1
 getDataSet
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 get_reparser
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2/**
3*
4* This file is part of the phpBB Forum Software package.
5*
6* @copyright (c) phpBB Limited <https://www.phpbb.com>
7* @license GNU General Public License, version 2 (GPL-2.0)
8*
9* For full copyright and license information, please see
10* the docs/CREDITS.txt file.
11*
12*/
13include_once __DIR__ . '/test_row_based_plugin.php';
14
15class phpbb_textreparser_forum_description_test extends phpbb_textreparser_test_row_based_plugin
16{
17    public function getDataSet()
18    {
19        return $this->createXMLDataSet(__DIR__ . '/fixtures/forums.xml');
20    }
21
22    protected function get_reparser()
23    {
24        return new \phpbb\textreparser\plugins\forum_description($this->db, FORUMS_TABLE);
25    }
26}