diff --git a/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MaxTypeFormatterTest.php b/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MaxTypeFormatterTest.php index 7903521d..c4c5ffbe 100644 --- a/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MaxTypeFormatterTest.php +++ b/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MaxTypeFormatterTest.php @@ -28,6 +28,7 @@ public function testNotSupportedMatcher(): void $this->formatter->format($matcher); } + #[TestWith([new MaxType([], 2), '"atMost(2)"'])] #[TestWith([new MaxType(['example value'], 2), '"atMost(2)"'])] public function testFormat(MatcherInterface $matcher, string $expression): void { diff --git a/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MinTypeFormatterTest.php b/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MinTypeFormatterTest.php index 0065e46f..d6910ee6 100644 --- a/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MinTypeFormatterTest.php +++ b/tests/PhpPact/Consumer/Matcher/Formatters/Expression/MinTypeFormatterTest.php @@ -28,6 +28,7 @@ public function testNotSupportedMatcher(): void $this->formatter->format($matcher); } + #[TestWith([new MinType([], 1), '"atLeast(1)"'])] #[TestWith([new MinType(['example value'], 1), '"atLeast(1)"'])] public function testFormat(MatcherInterface $matcher, string $expression): void {