diff --git a/testimage.sh b/testimage.sh
index 65b900a231dd58a9bff997e9bb48ae738fee1ebe..a57939332cfb032aa1008f9f16ec6f00f828a059 100644
--- a/testimage.sh
+++ b/testimage.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+export PATH="/ci/bin:/ci/vendor/bin:$PATH"
 git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack
 moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfexplicitvaildate
 moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfcbmexplicitvaildate