X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=unit_tests%2Fdb.php;h=5fd4a49cf1e38a5d18762c803408c5e7b670a658;hp=569ed0e97fe035658610ee25d9a258221506d329;hb=e057305351d93155bf9f0d2c664b6eb859d83bf4;hpb=8e61d658c67b8782612820211862ee0df243891d diff --git a/unit_tests/db.php b/unit_tests/db.php index 569ed0e..5fd4a49 100644 --- a/unit_tests/db.php +++ b/unit_tests/db.php @@ -21,7 +21,7 @@ # See code/wfpl/test.php for details on how to run or create tests -require_once('code/wfpl/db.php'); +require_once(__DIR__.'/'.'code/wfpl/db.php'); function test_db_reposition($table = 'reposition') { db_delete($table);