From: Art4 Date: Fri, 20 Dec 2024 13:21:35 +0000 (+0000) Subject: adjust tests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ea07b83fd0425934fb94b690ef452e2ff462a9d3;p=friendica.git adjust tests --- diff --git a/tests/Unit/AppTest.php b/tests/Unit/AppTest.php index a0b0270e39..124e63472a 100644 --- a/tests/Unit/AppTest.php +++ b/tests/Unit/AppTest.php @@ -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);