From df61d43529418aace241b99be106ff9a35188dac Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 24 Nov 2017 10:41:51 +0100 Subject: Make isUpdateAvailable non-static Signed-off-by: Morris Jobke --- tests/lib/InstallerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/InstallerTest.php') diff --git a/tests/lib/InstallerTest.php b/tests/lib/InstallerTest.php index 68f3676faa8..897bc472103 100644 --- a/tests/lib/InstallerTest.php +++ b/tests/lib/InstallerTest.php @@ -154,7 +154,8 @@ class InstallerTest extends TestCase { ->method('get') ->willReturn($appArray); - $this->assertSame($updateAvailable, Installer::isUpdateAvailable('files', $this->appFetcher)); + $installer = $this->getInstaller(); + $this->assertSame($updateAvailable, $installer->isUpdateAvailable('files')); } /** -- cgit v1.2.3