Merge "Add SPARQL client to core"
[lhc/web/wiklou.git] / tests / phpunit / includes / content / WikitextContentTest.php
index d0996e3..e04f562 100644 (file)
@@ -40,7 +40,7 @@ more stuff
                        [ "WikitextContentTest_testGetSecondaryDataUpdates_1",
                                CONTENT_MODEL_WIKITEXT, "hello ''world''\n",
                                [
-                                       'LinksUpdate' => [
+                                       LinksUpdate::class => [
                                                'mRecursive' => true,
                                                'mLinks' => []
                                        ]
@@ -49,7 +49,7 @@ more stuff
                        [ "WikitextContentTest_testGetSecondaryDataUpdates_2",
                                CONTENT_MODEL_WIKITEXT, "hello [[world test 21344]]\n",
                                [
-                                       'LinksUpdate' => [
+                                       LinksUpdate::class => [
                                                'mRecursive' => true,
                                                'mLinks' => [
                                                        [ 'World_test_21344' => 0 ]
@@ -446,11 +446,11 @@ just a test"
                return [
                        [ "WikitextContentTest_testGetSecondaryDataUpdates_1",
                                CONTENT_MODEL_WIKITEXT, "hello ''world''\n",
-                               [ 'LinksDeletionUpdate' => [] ]
+                               [ LinksDeletionUpdate::class => [] ]
                        ],
                        [ "WikitextContentTest_testGetSecondaryDataUpdates_2",
                                CONTENT_MODEL_WIKITEXT, "hello [[world test 21344]]\n",
-                               [ 'LinksDeletionUpdate' => [] ]
+                               [ LinksDeletionUpdate::class => [] ]
                        ],
                        // @todo more...?
                ];