diff --git a/build.xml b/build.xml
index a74a8f3234a3a7fb8117c632b65fa93223f311bb..fc7d18a8e6911f8e9f2bbe45888add548c3dc708 100644
--- a/build.xml
+++ b/build.xml
@@ -34,7 +34,7 @@
 
     <!-- Runs PHPUnit -->
     <target name="test">
-        <exec command="php vendor/bin/phpunit" passthru="true" checkreturn="true"/>
+        <exec command="php vendor/phpunit/phpunit/phpunit" passthru="true" checkreturn="true"/>
     </target>
 
     <target name="release">