diff options
Diffstat (limited to 'tests/cli/i18n/I18nDataTest.php')
| -rw-r--r-- | tests/cli/i18n/I18nDataTest.php | 8 |
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)) |
