diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-24 10:41:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-25 12:01:02 +0100 |
commit | df61d43529418aace241b99be106ff9a35188dac (patch) | |
tree | 1dee18bbed4828e67b96f87c41f3a43f799fd822 /tests/lib/InstallerTest.php | |
parent | 0e2f00ec59424b2ef5708a928856e2c75abe6deb (diff) | |
download | nextcloud-server-df61d43529418aace241b99be106ff9a35188dac.tar.gz nextcloud-server-df61d43529418aace241b99be106ff9a35188dac.zip |
Make isUpdateAvailable non-static
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/InstallerTest.php')
-rw-r--r-- | tests/lib/InstallerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
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')); } /** |