We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CreateNewChangelogTest
1 parent a002b7c commit c134386Copy full SHA for c134386
tests/system/AutoReview/CreateNewChangelogTest.php
@@ -65,6 +65,12 @@ protected function setUp(): void
65
#[DataProvider('provideCreateNewChangelog')]
66
public function testCreateNewChangelog(string $mode): void
67
{
68
+ $output = exec('git status --porcelain | wc -l');
69
+
70
+ if ($output !== '0') {
71
+ $this->markTestSkipped('You have uncommitted operations that will be erased by this test.');
72
+ }
73
74
$currentVersion = $this->currentVersion;
75
$newVersion = $this->incrementVersion($currentVersion, $mode);
76
0 commit comments