diff --git a/tests/Unit/TestName.php b/tests/Unit/TestName.php index 7723837b..e18544d3 100644 --- a/tests/Unit/TestName.php +++ b/tests/Unit/TestName.php @@ -69,6 +69,5 @@ foreach ($names as $name => $methodName) { ->expect(fn () => static::getLatestPrintableTestCaseMethodName()) ->toBe($name) ->and(fn () => $this->name()) - ->toBe($methodName) - ->only(); + ->toBe($methodName); }