From b0afbf7c1de9b009e9bb5e0f159902313b2da741 Mon Sep 17 00:00:00 2001 From: Bob Olde Hampsink Date: Wed, 27 Jan 2016 15:46:43 +0100 Subject: [PATCH] Fix unit tests by requiring mockery for craft --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6c7e8f5..24eed7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,9 @@ before_script: - mkdir craft/storage - mkdir -p craft/plugins/taskmanager - for item in *; do if [[ ! "$item" == "craft" ]]; then mv $item craft/plugins/taskmanager; fi; done + - cd craft/app + - composer require mockery/mockery + - cd ../.. # execute tests script: phpunit --bootstrap craft/app/tests/bootstrap.php --configuration craft/plugins/taskmanager/phpunit.xml.dist --coverage-clover coverage.clover craft/plugins/taskmanager/tests