From e1143d2cfc981a6875e1625350a45c44f2652262 Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Sat, 15 Apr 2023 11:52:07 +0200 Subject: [PATCH] remove ->only() --- tests/Unit/TestName.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }