Skip to content

Commit

Permalink
MNT Don't use magic number in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Dec 2, 2024
1 parent 4161aa4 commit d708b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/php/Forms/FormFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ public function testFieldValidatorConfig(): void
}
// Assert that we have tested all classes e.g. namespace wasn't changed, no new classes were added
// that haven't been tested
$this->assertSame(58, $count);
$this->assertSame(count($expectedFieldValidators), $count);
}

private function instantiateFormField(string $class): FormField
Expand Down

0 comments on commit d708b07

Please sign in to comment.