Skip to content

Commit b2a8236

Browse files
committed
fix: Fixed CreateNewChangelogTest
1 parent df5ad3c commit b2a8236

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/system/AutoReview/CreateNewChangelogTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ protected function setUp(): void
6565
#[DataProvider('provideCreateNewChangelog')]
6666
public function testCreateNewChangelog(string $mode): void
6767
{
68+
$output = exec('git status --porcelain | wc -l');
69+
70+
if ($output !== '0') {
71+
$this->markTestIncomplete('You may have uncommited changes.');
72+
}
73+
6874
$currentVersion = $this->currentVersion;
6975
$newVersion = $this->incrementVersion($currentVersion, $mode);
7076

0 commit comments

Comments
 (0)