Jeroen De Dauw has submitted this change and it was merged. Change subject: use lang nb instead of no in tests ......................................................................
use lang nb instead of no in tests It would seem the change has finally been made so that entities cannot be created with elements that have the lang code no. Therefor we should stop using this language in our api tests Change-Id: I3459d6b543cd59a91b735f36ca6f325743000a8f --- M repo/tests/phpunit/includes/api/EntityTestHelper.php 1 file changed, 8 insertions(+), 8 deletions(-) Approvals: Jeroen De Dauw: Looks good to me, approved jenkins-bot: Verified diff --git a/repo/tests/phpunit/includes/api/EntityTestHelper.php b/repo/tests/phpunit/includes/api/EntityTestHelper.php index 90d9d25..c2aa31d 100644 --- a/repo/tests/phpunit/includes/api/EntityTestHelper.php +++ b/repo/tests/phpunit/includes/api/EntityTestHelper.php @@ -62,7 +62,7 @@ "labels" => array( array( "language" => "de", "value" => "Berlin" ), array( "language" => "en", "value" => "Berlin" ), - array( "language" => "no", "value" => "Berlin" ), + array( "language" => "nb", "value" => "Berlin" ), array( "language" => "nn", "value" => "Berlin" ), ), "aliases" => array( @@ -73,7 +73,7 @@ "descriptions" => array( array( "language" => "de", "value" => "Bundeshauptstadt und Regierungssitz der Bundesrepublik Deutschland." ), array( "language" => "en", "value" => "Capital city and a federated state of the Federal Republic of Germany." ), - array( "language" => "no", "value" => "Hovedsted og delstat og i Forbundsrepublikken Tyskland." ), + array( "language" => "nb", "value" => "Hovedsted og delstat og i Forbundsrepublikken Tyskland." ), array( "language" => "nn", "value" => "Hovudstad og delstat i Forbundsrepublikken Tyskland." ), ), ) @@ -90,7 +90,7 @@ "labels" => array( array( "language" => "de", "value" => "London" ), array( "language" => "en", "value" => "London" ), - array( "language" => "no", "value" => "London" ), + array( "language" => "nb", "value" => "London" ), array( "language" => "nn", "value" => "London" ), ), "aliases" => array( @@ -110,7 +110,7 @@ "descriptions" => array( array( "language" => "de", "value" => "Hauptstadt Englands und des Vereinigten Königreiches." ), array( "language" => "en", "value" => "Capital city of England and the United Kingdom." ), - array( "language" => "no", "value" => "Hovedsted i England og Storbritannia." ), + array( "language" => "nb", "value" => "Hovedsted i England og Storbritannia." ), array( "language" => "nn", "value" => "Hovudstad i England og Storbritannia." ), ), ) @@ -127,13 +127,13 @@ "labels" => array( array( "language" => "de", "value" => "Oslo" ), array( "language" => "en", "value" => "Oslo" ), - array( "language" => "no", "value" => "Oslo" ), + array( "language" => "nb", "value" => "Oslo" ), array( "language" => "nn", "value" => "Oslo" ), ), "aliases" => array( array( - array( "language" => "no", "value" => "Christiania" ), - array( "language" => "no", "value" => "Kristiania" ), + array( "language" => "nb", "value" => "Christiania" ), + array( "language" => "nb", "value" => "Kristiania" ), ), array( array( "language" => "nn", "value" => "Christiania" ), @@ -146,7 +146,7 @@ "descriptions" => array( array( "language" => "de", "value" => "Hauptstadt der Norwegen." ), array( "language" => "en", "value" => "Capital city in Norway." ), - array( "language" => "no", "value" => "Hovedsted i Norge." ), + array( "language" => "nb", "value" => "Hovedsted i Norge." ), array( "language" => "nn", "value" => "Hovudstad i Noreg." ), ), ) -- To view, visit https://gerrit.wikimedia.org/r/83791 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3459d6b543cd59a91b735f36ca6f325743000a8f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de> Gerrit-Reviewer: Daniel Werner <daniel.wer...@wikimedia.de> Gerrit-Reviewer: Denny Vrandecic <denny.vrande...@wikimedia.de> Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com> Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits