summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/graph.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests/graph.test')
-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 a5ed9314b..b3270f843 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.
- drupal_function_exists('drupal_depth_first_search');
+ require_once 'includes/graph.inc';
// The sample graph used is:
// 1 --> 2 --> 3 5 ---> 6