Permalink
Browse files

Fix tests

  • Loading branch information...
1 parent cb96adc commit 539cf0863b775ed9b89ae90c94dd905d9c033862 @CloCkWeRX CloCkWeRX committed Jan 1, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 tests/HTML_BBCodeParserTest.php
@@ -1,19 +1,9 @@
<?php
-if (!defined("PHPUnit_MAIN_METHOD")) {
- define("PHPUnit_MAIN_METHOD", "HTML_BBCodeParserTest::main");
-}
-
require_once "PHPUnit/Framework/TestCase.php";
-require_once "PHPUnit/Framework/TestSuite.php";
-
-chdir(dirname(__FILE__) . '/../');
require_once 'HTML/BBCodeParser.php';
class HTML_BBCodeParserTest extends PHPUnit_Framework_TestCase
{
- function setUp() {
- chdir(dirname(__FILE__) . '/../');
- }
function testFilters()
{
@@ -245,9 +235,3 @@ function testBug11370()
);
}
}
-
-// Call HTML_BBCodeParserTest::main() if this source file is executed directly.
-if (PHPUnit_MAIN_METHOD == "HTML_BBCodeParserTest::main") {
- HTML_BBCodeParserTest::main();
-}
-?>

0 comments on commit 539cf08

Please sign in to comment.