Skip to content

Commit

Permalink
Fix: Rename test method
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Feb 22, 2025
1 parent 50392eb commit 8f0c291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ parameters:
path: test/Unit/DurationTest.php

-
message: "#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Exception\\\\InvalidCountTest\\:\\:testNotGreaterThanZeroReturnsException\\(\\) has no return type specified\\.$#"
message: "#^Method Ergebnis\\\\PHPUnit\\\\SlowTestDetector\\\\Test\\\\Unit\\\\Exception\\\\InvalidCountTest\\:\\:testNotGreaterThanOrEqualToZeroReturnsException\\(\\) has no return type specified\\.$#"
count: 1
path: test/Unit/Exception/InvalidCountTest.php

Expand Down
2 changes: 1 addition & 1 deletion test/Unit/Exception/InvalidCountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class InvalidCountTest extends Framework\TestCase
{
use Test\Util\Helper;

public function testNotGreaterThanZeroReturnsException()
public function testNotGreaterThanOrEqualToZeroReturnsException()
{
$value = self::faker()->numberBetween();

Expand Down

0 comments on commit 8f0c291

Please sign in to comment.