Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Aug 29, 2020
1 parent 11313f9 commit d801908
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions test/integration/UpdatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,17 @@ function ($cmd) use ($dir) {
'title' => 'Update psr/log from 1.0.0 to 1.0.2',
'body' => 'If you have a high test coverage index, and your tests for this pull request are passing, it should be both safe and recommended to merge this update.
### Updated packages
Some times an update also needs new or updated dependencies to be installed. Even if this branch is for updating one dependency, it might contain other installs or updates. All of the updates in this branch can be found here.
<details>
<summary>List of updated packages</summary>
- psr/log: 1.0.2 (updated from 1.1.0)
</details>
***
a custom message
Expand Down Expand Up @@ -954,6 +965,17 @@ function ($cmd) use (&$called, $dir) {
'title' => 'Update drupal/core from 8.4.7 to 8.4.8',
'body' => 'If you have a high test coverage index, and your tests for this pull request are passing, it should be both safe and recommended to merge this update.
### Updated packages
Some times an update also needs new or updated dependencies to be installed. Even if this branch is for updating one dependency, it might contain other installs or updates. All of the updates in this branch can be found here.
<details>
<summary>List of updated packages</summary>
- drupal/core: 8.4.8 (updated from 8.4.7)
</details>
***
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).
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Providers/GitlabProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function getBranchMethod()

protected function getRepoClassName($context)
{
if ($context == 'branches') {
if ($context === 'branches') {
return Repositories::class;
}
return Projects::class;
Expand Down

0 comments on commit d801908

Please sign in to comment.