Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions tests/TestCases/XTestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,21 @@ public static function tearDownFixturesAfterClass() {
*
* @dataProvider dataHaveFixtureMethodsBeenTriggered
*
* @param int $expectedBeforeClass Value expected for the $beforeClass property.
* @param int $expectedBefore Value expected for the $before property.
* @param int $expectedAfter Value expected for the $after property.
* @param int $expectedBeforeClass Value expected for the $beforeClass property.
* @param int $expectedBefore Value expected for the $before property.
* @param int $expectedAfter Value expected for the $after property.
* @param int $expectedPreConditions Unused. "assertPreConditions" can not be triggered via annotations.
* @param int $expectedPostConditions Unused. "assertPostConditions" can not be triggered via annotations.
*
* @return void
*/
public function testHaveFixtureMethodsBeenTriggered( $expectedBeforeClass, $expectedBefore, $expectedAfter ) {
public function testHaveFixtureMethodsBeenTriggered(
$expectedBeforeClass,
$expectedBefore,
$expectedAfter,
$expectedPreConditions, // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
$expectedPostConditions // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
) {
$this->assertSame(
$expectedBeforeClass,
self::$beforeClass,
Expand Down