aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-27 20:46:45 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-27 20:46:45 +0000
commita242689285bf74be97925204745a68e491543abd (patch)
treed954f7c667888a913bfadf53254d35e10f67d00a
parentbcb817c50dab1e6e6b0ab93803aa6f5963ee7f4e (diff)
downloadsemanticscuttle-a242689285bf74be97925204745a68e491543abd.tar.gz
semanticscuttle-a242689285bf74be97925204745a68e491543abd.tar.bz2
defined main method before including includes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@760 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--tests/BookmarkTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/BookmarkTest.php b/tests/BookmarkTest.php
index c836d5e..2a7c318 100644
--- a/tests/BookmarkTest.php
+++ b/tests/BookmarkTest.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', 'BookmarkTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle bookmark service.
*