JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix require_once() paths
[wfpl.git] / unit_tests / format.php
index 2e6ecb6..5ccb154 100644 (file)
@@ -21,7 +21,7 @@
 # See code/wfpl/test.php for details on how to run or create tests
 
 
-require_once('code/wfpl/format.php');
+require_once(__DIR__.'/'.'code/wfpl/format.php');
 
 function _test_format_money($arg, $dollars_correct, $money_correct) {
        unit_test_func('format_dollars', $arg, $dollars_correct);