summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/graph.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/graph.test b/modules/simpletest/tests/graph.test
index c8c99edd6..70af3ff1e 100644
--- a/modules/simpletest/tests/graph.test
+++ b/modules/simpletest/tests/graph.test
@@ -23,7 +23,7 @@ class GraphUnitTest extends DrupalUnitTestCase {
*/
function testDepthFirstSearch() {
// Provoke the inclusion of graph.inc.
- require_once 'includes/graph.inc';
+ require_once DRUPAL_ROOT . '/includes/graph.inc';
// The sample graph used is:
// 1 --> 2 --> 3 5 ---> 6