mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
adjust tests
This commit is contained in:
parent
0ab9c23bb9
commit
ea07b83fd0
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ class AppTest extends TestCase
|
|||
public function testFromDiceReturnsApp(): void
|
||||
{
|
||||
$dice = $this->createMock(Dice::class);
|
||||
$dice->expects($this->exactly(11))->method('create')->willReturnCallback(function($classname) {
|
||||
return $this->createMock($classname);
|
||||
});
|
||||
$dice->expects($this->never())->method('create');
|
||||
|
||||
$app = App::fromDice($dice);
|
||||
|
||||
|
|
Loading…
Reference in a new issue