From b2a82364cfe89fd83319a37c7bfc692a56b072be Mon Sep 17 00:00:00 2001 From: neznaika0 Date: Tue, 3 Mar 2026 15:03:27 +0300 Subject: [PATCH 1/2] fix: Fixed CreateNewChangelogTest --- tests/system/AutoReview/CreateNewChangelogTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/system/AutoReview/CreateNewChangelogTest.php b/tests/system/AutoReview/CreateNewChangelogTest.php index fc348565464f..fbfa7000002a 100644 --- a/tests/system/AutoReview/CreateNewChangelogTest.php +++ b/tests/system/AutoReview/CreateNewChangelogTest.php @@ -65,6 +65,12 @@ protected function setUp(): void #[DataProvider('provideCreateNewChangelog')] public function testCreateNewChangelog(string $mode): void { + $output = exec('git status --porcelain | wc -l'); + + if ($output !== '0') { + $this->markTestIncomplete('You may have uncommited changes.'); + } + $currentVersion = $this->currentVersion; $newVersion = $this->incrementVersion($currentVersion, $mode); From 00f712d1a5960620db07b88b72e2c5695f7789c2 Mon Sep 17 00:00:00 2001 From: neznaika0 Date: Wed, 4 Mar 2026 10:18:58 +0300 Subject: [PATCH 2/2] fix: Update warning in test --- tests/system/AutoReview/CreateNewChangelogTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/AutoReview/CreateNewChangelogTest.php b/tests/system/AutoReview/CreateNewChangelogTest.php index fbfa7000002a..b6a89e047f88 100644 --- a/tests/system/AutoReview/CreateNewChangelogTest.php +++ b/tests/system/AutoReview/CreateNewChangelogTest.php @@ -68,7 +68,7 @@ public function testCreateNewChangelog(string $mode): void $output = exec('git status --porcelain | wc -l'); if ($output !== '0') { - $this->markTestIncomplete('You may have uncommited changes.'); + $this->markTestSkipped('You have uncommitted operations that will be erased by this test.'); } $currentVersion = $this->currentVersion;