Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tests: fix inclusion of TestConfig.php

This way tests can be called individually
  • Loading branch information...
commit 9fe6eda189f2d72d745de566646400dd0f863cd0 1 parent 35c7828
@dregad dregad authored
View
2  tests/Mantis/AllTests.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';
View
2  tests/Mantis/EnumTest.php
@@ -24,6 +24,8 @@
/**
* Includes
*/
+require_once dirname( dirname(__FILE__) ) . DIRECTORY_SEPARATOR . 'TestConfig.php';
+
require_once 'MantisEnum.class.php';
View
5 tests/Mantis/StringTest.php
@@ -21,6 +21,11 @@
* @link http://www.mantisbt.org
*/
+/**
+ * Includes
+ */
+require_once dirname( dirname(__FILE__) ) . DIRECTORY_SEPARATOR . 'TestConfig.php';
+
/**
* String API tests
Please sign in to comment.
Something went wrong with that request. Please try again.