Merge "mw.rcfilters.ui.SaveFiltersPopupButtonWidget: Remove pointless option"
[lhc/web/wiklou.git] / tests / phpunit / includes / logging / BlockLogFormatterTest.php
index 8102437..03671ac 100644 (file)
@@ -1,5 +1,8 @@
 <?php
 
+/**
+ * @covers BlockLogFormatter
+ */
 class BlockLogFormatterTest extends LogFormatterTestCase {
 
        /**
@@ -25,7 +28,8 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                        ],
                                ],
                                [
-                                       'text' => 'Sysop blocked Logtestuser with an expiry time of indefinite (anonymous users only)',
+                                       'text' => 'Sysop blocked Logtestuser with an expiration time of indefinite'
+                                               . ' (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [ 'anononly' ],
@@ -50,7 +54,8 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop blocked Logtestuser with an expiry time of indefinite (anonymous users only)',
+                                       'text' => 'Sysop blocked Logtestuser with an expiration time of indefinite'
+                                               . ' (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [ 'anononly' ],
@@ -74,7 +79,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop blocked Logtestuser with an expiry time of indefinite',
+                                       'text' => 'Sysop blocked Logtestuser with an expiration time of indefinite',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [],
@@ -96,7 +101,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop blocked Logtestuser with an expiry time of indefinite',
+                                       'text' => 'Sysop blocked Logtestuser with an expiration time of indefinite',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [],
@@ -136,7 +141,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                        ],
                                ],
                                [
-                                       'text' => 'Sysop changed block settings for Logtestuser with an expiry time of'
+                                       'text' => 'Sysop changed block settings for Logtestuser with an expiration time of'
                                                . ' indefinite (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
@@ -162,7 +167,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop changed block settings for Logtestuser with an expiry time of'
+                                       'text' => 'Sysop changed block settings for Logtestuser with an expiration time of'
                                                . ' indefinite (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
@@ -187,7 +192,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop changed block settings for Logtestuser with an expiry time of indefinite',
+                                       'text' => 'Sysop changed block settings for Logtestuser with an expiration time of indefinite',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [],
@@ -261,7 +266,8 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                        ],
                                ],
                                [
-                                       'text' => 'Sysop blocked Logtestuser with an expiry time of indefinite (anonymous users only)',
+                                       'text' => 'Sysop blocked Logtestuser with an expiration time of indefinite'
+                                               . ' (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [ 'anononly' ],
@@ -286,7 +292,8 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop blocked Logtestuser with an expiry time of indefinite (anonymous users only)',
+                                       'text' => 'Sysop blocked Logtestuser with an expiration time of indefinite'
+                                               . ' (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
                                                'flags' => [ 'anononly' ],
@@ -326,7 +333,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                        ],
                                ],
                                [
-                                       'text' => 'Sysop changed block settings for Logtestuser with an expiry time of'
+                                       'text' => 'Sysop changed block settings for Logtestuser with an expiration time of'
                                                . ' indefinite (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',
@@ -352,7 +359,7 @@ class BlockLogFormatterTest extends LogFormatterTestCase {
                                ],
                                [
                                        'legacy' => true,
-                                       'text' => 'Sysop changed block settings for Logtestuser with an expiry time of'
+                                       'text' => 'Sysop changed block settings for Logtestuser with an expiration time of'
                                                . ' indefinite (anonymous users only)',
                                        'api' => [
                                                'duration' => 'infinite',