summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Bookmark2TagTest.php5
-rw-r--r--tests/CommonDescriptionTest.php5
-rw-r--r--tests/Tag2TagTest.php5
-rw-r--r--tests/TagTest.php5
-rw-r--r--tests/TagsCacheTest.php5
-rw-r--r--tests/UserTest.php5
-rw-r--r--tests/VoteTest.php5
7 files changed, 14 insertions, 21 deletions
diff --git a/tests/Bookmark2TagTest.php b/tests/Bookmark2TagTest.php
index 14b71cc..e6aaf1d 100644
--- a/tests/Bookmark2TagTest.php
+++ b/tests/Bookmark2TagTest.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', 'Bookmark2TagTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle bookmark-tag combination service.
*
diff --git a/tests/CommonDescriptionTest.php b/tests/CommonDescriptionTest.php
index 63b9e0c..94f431d 100644
--- a/tests/CommonDescriptionTest.php
+++ b/tests/CommonDescriptionTest.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', 'CommonDescriptionTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle common description service.
*
diff --git a/tests/Tag2TagTest.php b/tests/Tag2TagTest.php
index d1b6100..033fc91 100644
--- a/tests/Tag2TagTest.php
+++ b/tests/Tag2TagTest.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', 'Tag2TagTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle tag2tag service.
*
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.
*
diff --git a/tests/TagsCacheTest.php b/tests/TagsCacheTest.php
index 84f4ec0..94200dd 100644
--- a/tests/TagsCacheTest.php
+++ b/tests/TagsCacheTest.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', 'TagsCacheTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle tags cache service.
*
diff --git a/tests/UserTest.php b/tests/UserTest.php
index c182d87..6da7776 100644
--- a/tests/UserTest.php
+++ b/tests/UserTest.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', 'UserTest::main');
}
+require_once 'prepare.php';
+
/**
* Unit tests for the SemanticScuttle user service.
*
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.
*