mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
The unit tests would fail, when started on a non-master branch. This was happening because the test repository has been initialized with git default branch, whereas deploy configuration expects to work with current git branch. This has been fixed by adding `git checkout -B BRANCH_NAME`, right after test repo initialization to the DeployTest setup procedure, to make sure that the test repositoryis always in sync repo-wise with the Deployer repository. Fixes #2181