mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update test code.
This commit is contained in:
@@ -43,7 +43,7 @@ class VersionCheckEventHandlerTest extends TestCase
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function testCheckForUpdatesError()
|
||||
public function testCheckForUpdatesError(): void
|
||||
{
|
||||
$updateConfig = new Configuration;
|
||||
$updateConfig->data = 1;
|
||||
@@ -73,7 +73,7 @@ class VersionCheckEventHandlerTest extends TestCase
|
||||
* @covers \FireflyIII\Events\RequestedVersionCheckStatus
|
||||
* @covers \FireflyIII\Handlers\Events\VersionCheckEventHandler
|
||||
*/
|
||||
public function testCheckForUpdatesNewer()
|
||||
public function testCheckForUpdatesNewer(): void
|
||||
{
|
||||
$updateConfig = new Configuration;
|
||||
$updateConfig->data = 1;
|
||||
@@ -106,7 +106,7 @@ class VersionCheckEventHandlerTest extends TestCase
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function testCheckForUpdatesNoAdmin()
|
||||
public function testCheckForUpdatesNoAdmin(): void
|
||||
{
|
||||
$updateConfig = new Configuration;
|
||||
$updateConfig->data = 1;
|
||||
@@ -125,7 +125,7 @@ class VersionCheckEventHandlerTest extends TestCase
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function testCheckForUpdatesNoPermission()
|
||||
public function testCheckForUpdatesNoPermission(): void
|
||||
{
|
||||
$updateConfig = new Configuration;
|
||||
$updateConfig->data = -1;
|
||||
@@ -148,7 +148,7 @@ class VersionCheckEventHandlerTest extends TestCase
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function testCheckForUpdatesTooRecent()
|
||||
public function testCheckForUpdatesTooRecent(): void
|
||||
{
|
||||
$updateConfig = new Configuration;
|
||||
$updateConfig->data = 1;
|
||||
|
||||
Reference in New Issue
Block a user