From bcb817c50dab1e6e6b0ab93803aa6f5963ee7f4e Mon Sep 17 00:00:00 2001 From: cweiske Date: Mon, 27 Sep 2010 20:45:51 +0000 Subject: defined main method before including includes git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@759 b3834d28-1941-0410-a4f8-b48e95affb8f --- tests/VoteTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/VoteTest.php') diff --git a/tests/VoteTest.php b/tests/VoteTest.php index 8e65917..1623826 100644 --- a/tests/VoteTest.php +++ b/tests/VoteTest.php @@ -10,13 +10,12 @@ * @license GPL http://www.gnu.org/licenses/gpl.html * @link http://sourceforge.net/projects/semanticscuttle */ - -require_once 'prepare.php'; - if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'VoteTest::main'); } +require_once 'prepare.php'; + /** * Unit tests for the SemanticScuttle voting system. * -- cgit v1.2.3