Permalink
Browse files

Tests: fix inclusion of TestConfig.php

This way tests can be called individually
  • Loading branch information...
1 parent 35c7828 commit 9fe6eda189f2d72d745de566646400dd0f863cd0 @dregad dregad committed May 23, 2013
Showing with 8 additions and 1 deletion.
  1. +1 −1 tests/Mantis/AllTests.php
  2. +2 −0 tests/Mantis/EnumTest.php
  3. +5 −0 tests/Mantis/StringTest.php
@@ -26,7 +26,7 @@
/**
* Includes
*/
-require_once dirname(__FILE__) . '/../TestConfig.php';
+require_once dirname( dirname(__FILE__) ) . DIRECTORY_SEPARATOR . 'TestConfig.php';
require_once 'EnumTest.php';
require_once 'StringTest.php';
@@ -24,6 +24,8 @@
/**
* Includes
*/
+require_once dirname( dirname(__FILE__) ) . DIRECTORY_SEPARATOR . 'TestConfig.php';
+
require_once 'MantisEnum.class.php';
@@ -21,6 +21,11 @@
* @link http://www.mantisbt.org
*/
+/**
+ * Includes
+ */
+require_once dirname( dirname(__FILE__) ) . DIRECTORY_SEPARATOR . 'TestConfig.php';
+
/**
* String API tests

0 comments on commit 9fe6eda

Please sign in to comment.