mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02: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…
Add table
Add a link
Reference in a new issue