Skip to content

Commit d7a724b

Browse files
committed
fix: Assert returned code
1 parent 9982db0 commit d7a724b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/system/Commands/Translation/LocalizationFinderTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function testUpdateWithIncorrectLocaleOption(): void
7777
'locale' => self::$locale,
7878
]);
7979

80-
$this->assertSame($status, -1);
80+
$this->assertSame($status, EXIT_USER_INPUT);
8181
}
8282

8383
public function testUpdateWithEmptyDirOption(): void
@@ -97,7 +97,7 @@ public function testUpdateWithIncorrectDirOption(): void
9797
'dir' => 'Translation/NotExistFolder',
9898
]);
9999

100-
$this->assertSame($status, -1);
100+
$this->assertSame($status, EXIT_USER_INPUT);
101101
}
102102

103103
public function testShowNewTranslation(): void

0 commit comments

Comments
 (0)