mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 23:14:26 +02:00
Adjust testModuleClass() expectations after introducing lastRoutesFileModifiedTime cache key
This commit is contained in:
parent
df23690a93
commit
7d705417a9
2 changed files with 4 additions and 3 deletions
|
@ -178,7 +178,8 @@ class ModuleTest extends DatabaseTest
|
|||
|
||||
$cache = \Mockery::mock(ICache::class);
|
||||
$cache->shouldReceive('get')->with('routerDispatchData')->andReturn('')->atMost()->once();
|
||||
$cache->shouldReceive('set')->withAnyArgs()->andReturn(false)->atMost()->once();
|
||||
$cache->shouldReceive('get')->with('lastRoutesFileModifiedTime')->andReturn('')->atMost()->once();
|
||||
$cache->shouldReceive('set')->withAnyArgs()->andReturn(false)->atMost()->twice();
|
||||
|
||||
$router = (new App\Router([], __DIR__ . '/../../../static/routes.config.php', $l10n, $cache));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue