Skip to content

Commit

Permalink
Fix UpdatesController test
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Sep 11, 2020
1 parent e7b1862 commit ce361ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/unit/system/classes/UpdatesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public function testGetPluginVersionFile()
$controller = $this->getMockBuilder(Updates::class)->disableOriginalConstructor()->getMock();

$expectedVersions = [
'1.2.0' => [
'!!! Security update - see: https://octobercms.com',
],
'1.1.0' => [
'!!! Drop support for blog settings',
],
'1.0.5' => [
'Create blog settings table',
'Another update message',
Expand Down

0 comments on commit ce361ca

Please sign in to comment.