Commit graph

5 commits

Author SHA1 Message Date
GergesShamon
51106043b0 [i18n] Change the names of the Arabic months
Bug: T370456
Change-Id: Ib5257276e38884eb7711c2c0842e4ed6ab58cf39
2024-07-18 18:44:26 +00:00
Lucas Werkmeister
7ddee160ae Update expected test output after i18n change
The Arabic translation of the january-gen message was changed from يناير
to يناير/كانون الثاني in change Ia7fd7a01fb (commit 40a07e42e5). Update
this test to match.

Bug: T370031
Change-Id: I047c0d45e9d9cdd9855a284004be4867fb097fe7
2024-07-15 12:40:11 +02:00
Reedy
85396a9c99 tests: Fix @covers and @coversDefaultClass to have leading \
Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
2024-02-16 22:43:56 +00:00
thiemowmde
ea2f0b651e Replace generic new Exception with more generic ones
… or with $this->fail() from the PHPUnit TestCase base class.

I hope this makes the code more readable, i.e. communicate the
intention better. The output should be the same, i.e. the test fails
as before in case of an error.

Change-Id: Ied8a045141ac92d6af6398682bb5d9ca7ca88c49
2023-10-17 07:59:50 +00:00
Timo Tijhof
7c39f76452 Move Language subclasses to includes/
Depending on which namespace we want these classes to have after
T166010 they could either stay in includes/languages/ (plural) in
their own MediaWiki\Languages\-namespace dedicated to Language
subclasses, or they could go in into a subdirectory like
`includes/language/languages/` if we want to keep them in the same
top-level namespace as other Language classes and services, but in
a more nested namespace.

For now, I've made the smaller change and kept the Language subclasses
in their own directory directly under includes/, not nested further.

Bug: T225756
Change-Id: I01015424707b442853879fd50c97f00215e5c2fa
2021-08-04 23:44:46 +01:00
Renamed from tests/phpunit/languages/classes/LanguageArTest.php (Browse further)