Skip to content

Commit

Permalink
remove ->only()
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Apr 15, 2023
1 parent 5861b04 commit e1143d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Unit/TestName.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@
->expect(fn () => static::getLatestPrintableTestCaseMethodName())
->toBe($name)
->and(fn () => $this->name())
->toBe($methodName)
->only();
->toBe($methodName);
}

0 comments on commit e1143d2

Please sign in to comment.