[ticket/248] Move unit tests to unit folder

B3P-248
This commit is contained in:
Marc Alexander
2014-06-09 11:40:16 +02:00
parent e07af8de27
commit 66a1f20705
6 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
<?php
/**
*
* @package testing
* @copyright (c) Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
require_once(dirname(__FILE__) . '/../../../includes/functions.php');
class phpbb_functions_simple_test extends PHPUnit_Framework_TestCase
{
public function test_ap_validate()
{
$this->assertEquals('<br/>woot<br/><ul><li>test</li></ul>', ap_validate('<br />woot<br/><ul><li>test</li><br /></ul>'));
}
}