X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=unit_tests%2Fformat.php;h=5ccb1544948ff1eaf6696cc23e465cbdbe487734;hp=2e6ecb697b2f9b7bc7602cee03ba3ed92d795fd2;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d diff --git a/unit_tests/format.php b/unit_tests/format.php index 2e6ecb6..5ccb154 100644 --- a/unit_tests/format.php +++ b/unit_tests/format.php @@ -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);