mirror of
https://github.com/friendica/friendica
synced 2025-04-22 04:30:10 +00:00
Tests
This commit is contained in:
parent
72bc1238ba
commit
9ce43ad21d
7 changed files with 16 additions and 0 deletions
|
@ -51,6 +51,8 @@ class DatabaseLockDriverTest extends LockTest
|
|||
{
|
||||
$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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue