Update test code.

This commit is contained in:
James Cole
2018-05-11 19:58:10 +02:00
parent 9bb4df4cc3
commit 4d6bc55723
174 changed files with 2138 additions and 940 deletions

View File

@@ -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;