]> git.mxchange.org Git - friendica.git/commitdiff
adjust tests
authorArt4 <art4@wlabs.de>
Fri, 20 Dec 2024 13:21:35 +0000 (13:21 +0000)
committerArt4 <art4@wlabs.de>
Fri, 20 Dec 2024 13:21:35 +0000 (13:21 +0000)
tests/Unit/AppTest.php

index a0b0270e39cfa93feeb7f9f7585f595d0f748ce3..124e63472a709e48386ed7633fe6942a36d40dd6 100644 (file)
@@ -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);