adjust tests

This commit is contained in:
Art4 2024-12-20 13:21:35 +00:00
parent 0ab9c23bb9
commit ea07b83fd0

View 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);