summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-12-14 09:50:17 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-12-14 09:56:53 +0100
commit54c227b6c4cf7c4597a45aa255be93cd4c14d1ec (patch)
tree736e7ac8079696701d05df00a1708e21c530118b /tests
parentce12763ab7e29d8b41ef1b0594923f7911decea9 (diff)
downloadnextcloud-server-54c227b6c4cf7c4597a45aa255be93cd4c14d1ec.tar.gz
nextcloud-server-54c227b6c4cf7c4597a45aa255be93cd4c14d1ec.zip
Use cached app list
Followup to #7264 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/InstallerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/InstallerTest.php b/tests/lib/InstallerTest.php
index 897bc472103..c7e4bfeacfb 100644
--- a/tests/lib/InstallerTest.php
+++ b/tests/lib/InstallerTest.php
@@ -156,6 +156,7 @@ class InstallerTest extends TestCase {
$installer = $this->getInstaller();
$this->assertSame($updateAvailable, $installer->isUpdateAvailable('files'));
+ $this->assertSame($updateAvailable, $installer->isUpdateAvailable('files'), 'Cached result should be returned and fetcher should be only called once');
}
/**