Skip to content

Commit 352e62f

Browse files
committed
Fix test
1 parent ada170a commit 352e62f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Validator/EnumValidatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ public function testInvalidBasketballPositionType(): void
8787
$constraintValidationBuilder = $this->createMock(ConstraintViolationBuilder::class);
8888

8989
$constraintValidationBuilder
90-
->expects(self::once())
90+
->expects(self::at(0))
9191
->method('setParameter')
9292
->with($this->equalTo('{{ value }}'), $this->equalTo('"Pitcher"'))
9393
->willReturnSelf()
9494
;
9595

9696
$constraintValidationBuilder
97-
->expects(self::once())
97+
->expects(self::at(1))
9898
->method('setParameter')
9999
->with($this->equalTo('{{ choices }}'), $this->equalTo('"Point Guard", "Shooting Guard", "Small Forward", "Power Forward", "Center"'))
100100
->willReturnSelf()

0 commit comments

Comments
 (0)