Tests
This commit is contained in:
@@ -49,6 +49,8 @@ class DatabaseCacheTest extends CacheTest
|
||||
{
|
||||
$logger = new NullLogger();
|
||||
$profiler = Mockery::mock(Profiler::class);
|
||||
$profiler->shouldReceive('startRecording');
|
||||
$profiler->shouldReceive('stopRecording');
|
||||
$profiler->shouldReceive('saveTimestamp')->withAnyArgs()->andReturn(true);
|
||||
|
||||
// load real config to avoid mocking every config-entry which is related to the Database class
|
||||
|
||||
Reference in New Issue
Block a user