summaryrefslogtreecommitdiff
path: root/tests/TagTest.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-27 20:45:51 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-27 20:45:51 +0000
commitbcb817c50dab1e6e6b0ab93803aa6f5963ee7f4e (patch)
treeeb78fecba29993f7c99a72a8e7fdea99fb0b56a7 /tests/TagTest.php
parentab618a8908382634ba9aa14a1df69f217807bc04 (diff)
downloadsemanticscuttle-bcb817c50dab1e6e6b0ab93803aa6f5963ee7f4e.tar.gz
semanticscuttle-bcb817c50dab1e6e6b0ab93803aa6f5963ee7f4e.tar.bz2
defined main method before including includes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@759 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'tests/TagTest.php')
-rw-r--r--tests/TagTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/TagTest.php b/tests/TagTest.php
index c08aba2..25d1a77 100644
--- a/tests/TagTest.php
+++ b/tests/TagTest.php
@@ -12,13 +12,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', 'TagTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle tag service.
*