Skip to content

Commit 13a7f17

Browse files
Fix tests
1 parent a28dae2 commit 13a7f17

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/unit/TextUI/Configuration/Cli/BuilderTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ public function testDoNotFailOnDeprecationMayNotBeConfigured(): void
14241424

14251425
$this->expectException(Exception::class);
14261426

1427-
$configuration->failOnDeprecation();
1427+
$configuration->doNotFailOnDeprecation();
14281428
}
14291429

14301430
#[TestDox('--do-not-fail-on-phpunit-deprecation')]
@@ -1444,7 +1444,7 @@ public function testDoNotFailOnPhpunitDeprecationMayNotBeConfigured(): void
14441444

14451445
$this->expectException(Exception::class);
14461446

1447-
$configuration->failOnPhpunitDeprecation();
1447+
$configuration->doNotFailOnPhpunitDeprecation();
14481448
}
14491449

14501450
#[TestDox('--do-not-fail-on-empty-test-suite')]
@@ -1464,7 +1464,7 @@ public function testDoNotFailOnEmptyTestSuiteMayNotBeConfigured(): void
14641464

14651465
$this->expectException(Exception::class);
14661466

1467-
$configuration->failOnEmptyTestSuite();
1467+
$configuration->doNotFailOnEmptyTestSuite();
14681468
}
14691469

14701470
#[TestDox('--do-not-fail-on-incomplete')]
@@ -1484,7 +1484,7 @@ public function testDoNotFailOnIncompleteMayNotBeConfigured(): void
14841484

14851485
$this->expectException(Exception::class);
14861486

1487-
$configuration->failOnIncomplete();
1487+
$configuration->doNotFailOnIncomplete();
14881488
}
14891489

14901490
#[TestDox('--do-not-fail-on-notice')]
@@ -1504,7 +1504,7 @@ public function testDoNotFailOnNoticeMayNotBeConfigured(): void
15041504

15051505
$this->expectException(Exception::class);
15061506

1507-
$configuration->failOnNotice();
1507+
$configuration->doNotFailOnNotice();
15081508
}
15091509

15101510
#[TestDox('--do-not-fail-on-risky')]
@@ -1524,7 +1524,7 @@ public function testDoNotFailOnRiskyMayNotBeConfigured(): void
15241524

15251525
$this->expectException(Exception::class);
15261526

1527-
$configuration->failOnRisky();
1527+
$configuration->doNotFailOnRisky();
15281528
}
15291529

15301530
#[TestDox('--do-not-fail-on-skipped')]
@@ -1544,7 +1544,7 @@ public function testDoNotFailOnSkippedMayNotBeConfigured(): void
15441544

15451545
$this->expectException(Exception::class);
15461546

1547-
$configuration->failOnSkipped();
1547+
$configuration->doNotFailOnSkipped();
15481548
}
15491549

15501550
#[TestDox('--do-not-fail-on-warning')]
@@ -1564,7 +1564,7 @@ public function testDoNotFailOnWarningMayNotBeConfigured(): void
15641564

15651565
$this->expectException(Exception::class);
15661566

1567-
$configuration->failOnWarning();
1567+
$configuration->doNotFailOnWarning();
15681568
}
15691569

15701570
#[TestDox('--stop-on-defect')]

0 commit comments

Comments
 (0)