Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Apr 26, 2019
1 parent 852e9e8 commit 6f45050
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/integration/UpdatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ function ($cmd) use (&$called, $dir) {
if ($cmd == $command) {
file_put_contents("$dir/composer.lock", file_get_contents(__DIR__ . '/../fixtures/composer-psr-log.lock-updated'));
}
if ($cmd == 'GIT_AUTHOR_NAME="" GIT_AUTHOR_EMAIL="" GIT_COMMITTER_NAME="" GIT_COMMITTER_EMAIL="" git commit composer.* -m "Update psr/log"') {
if ($cmd == 'GIT_AUTHOR_NAME="" GIT_AUTHOR_EMAIL="" GIT_COMMITTER_NAME="" GIT_COMMITTER_EMAIL="" git commit composer.json composer.lock -m "Update psr/log"') {
$return = 1;
}
if (strpos($cmd, 'rm -rf /tmp/') === 0) {
Expand Down Expand Up @@ -884,7 +884,8 @@ function ($cmd) use (&$called, $dir) {
***
This is an automated pull request from [Violinist](https://violinist.io/): Continuously and automatically monitor and update your composer dependencies. Have ideas on how to improve this message? All violinist messages are open-source, and [can be improved here](https://github.com/violinist-dev/violinist-messages).
'
',
'assignees' => []
])
->willReturn([
'html_url' => $fake_pr_url,
Expand Down

0 comments on commit 6f45050

Please sign in to comment.