Skip to content

Commit

Permalink
Test PHPUnit 10 with failed scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 29, 2023
1 parent dd54b54 commit faa746c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions e2e/phpunit-10-test/tests/TypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@ public function dataFileAsserts(): iterable
yield from $this->gatherAssertTypes(__DIR__ . '/assert2.php');
}

/**
* @return iterable<mixed>
*/
public static function dataFileAssertsStatic(): iterable
{
yield from self::gatherAssertTypes(__DIR__ . '/assert.php');
}

/**
* @dataProvider dataFileAsserts
* @dataProvider dataFileAssertsStatic
*/
public function testFileAsserts(
string $assertType,
Expand Down

0 comments on commit faa746c

Please sign in to comment.