mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for cache in tests
This commit is contained in:
parent
698a376de3
commit
d764f2736f
@ -31,11 +31,13 @@ class RedisVsDatabaseTest extends TestCase
|
||||
{
|
||||
$start = microtime(true);
|
||||
|
||||
app('currencies');
|
||||
|
||||
$currencies = Cache::get('currencies');
|
||||
|
||||
$currencies->filter(function ($item) {
|
||||
$currencies->first(function ($item) {
|
||||
return $item->id == 17;
|
||||
})->first();
|
||||
});
|
||||
|
||||
nlog(microtime(true) - $start);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user