aboutsummaryrefslogtreecommitdiff
path: root/tests/cli
diff options
context:
space:
mode:
authorGravatar Kasimir Cash <kasimir.cash@outlook.com> 2024-01-17 07:45:11 +0000
committerGravatar GitHub <noreply@github.com> 2024-01-17 08:45:11 +0100
commit9b1f9713337bd9c1d1264688b7ac98be69d53c67 (patch)
treeabd64944a27f5113afa93f684195b0a82b269270 /tests/cli
parent6d14813840d163c76f6dc25395b0007a88b42e9d (diff)
Fixes reversed behaviour by ignore (#6041)
Diffstat (limited to 'tests/cli')
-rw-r--r--tests/cli/i18n/I18nDataTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cli/i18n/I18nDataTest.php b/tests/cli/i18n/I18nDataTest.php
index b2fa5c5fd..5823d55b8 100644
--- a/tests/cli/i18n/I18nDataTest.php
+++ b/tests/cli/i18n/I18nDataTest.php
@@ -679,9 +679,9 @@ class I18nDataTest extends PHPUnit\Framework\TestCase {
$value = $this->getMockBuilder(I18nValue::class)
->disableOriginalConstructor()
->getMock();
- $value->expects(self::exactly(2))
- ->method('unmarkAsIgnore');
$value->expects(self::once())
+ ->method('unmarkAsIgnore');
+ $value->expects(self::exactly(2))
->method('markAsIgnore');
$rawData = array_merge($this->referenceData, [
@@ -701,9 +701,9 @@ class I18nDataTest extends PHPUnit\Framework\TestCase {
$value = $this->getMockBuilder(I18nValue::class)
->disableOriginalConstructor()
->getMock();
- $value->expects(self::exactly(2))
+ $value->expects(self::once())
->method('unmarkAsIgnore');
- $value->expects(self::once())
+ $value->expects(self::exactly(2))
->method('markAsIgnore');
$this->value->expects(self::atLeast(2))