libraryupgrader
29f4c03de1
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
npm:
* postcss: 7.0.35 → 7.0.36
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
* https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
* https://npmjs.com/advisories/1753 (CVE-2021-33623)
Change-Id: If0310d25d0380a6d4e936e666729e6a65a90a710
2021-07-23 21:34:32 +00:00
DannyS712
cd885e83cb
Use WikiPage::doUserEditContent() instead of ::doEditContent()
...
::doUserEditContent() is available since 1.36 as a replacement
for ::doEditContent(), which has been deprecated. Bump the
required version of MediaWiki to 1.36 accordingly.
Results in passing a user where previously the fallback
to $wgUser was being used.
Bug: T255507
Change-Id: I11e4a305e66935ea1d1b4692561fb5d49871a729
2021-06-24 05:58:13 +00:00
Umherirrender
f129988d82
Improve function and property documentation in tests
...
Change-Id: I81e957035175f9fe0dad9494c92ab342283df983
2021-01-29 08:06:12 +00:00
C. Scott Ananian
93662aabf1
TitleLibraryTest: Don't use deprecated InterwikiLoadPrefix hook
...
Use $wgInterwikiCache to setup interwiki prefixes for testing instead
of the deprecated InterwikiLoadPrefix hook. This simplifies the test
setup quite a bit as well.
Bug: T270444
Change-Id: Icb772fcee07103a06548011ddd653487477ebfcc
2020-12-22 20:41:24 +00:00
Brad Jorsch
66f83331db
Record vary-page-id when ID is accessed via mw.title
...
This triggers a needed reparse when a new page is created using a module
that accesses the page ID.
Bug: T237746
Change-Id: I5564c2e896dd2a025c5a886ca478c377fac83e74
2020-02-13 17:24:41 +00:00
James D. Forrester
4a93593abf
build: Upgrade mediawiki-codesniffer to v28.0.0
...
Change-Id: Ie4cb4cbee163943cd159eb0ad1d7deaac10e68d8
2019-10-11 11:31:29 -07:00
Max Semenik
8d9e489778
Update to use PHPUnit 6 class names
...
Bug: T192167
Change-Id: Ia342080fb1935e54ac42c2b3a07ab9b2a23dde42
2019-10-05 20:17:05 -07:00
Amir Sarabadani
2fd7287512
Add group database to TitleLibraryTest
...
This test writes to the database (like $page->doEditContent())
so it needs group database
Change-Id: I13316432048090e8d1fd5416eda1c7707f589270
2019-08-03 20:07:09 +02:00
Kunal Mehta
d91a8cf8a0
Add @covers tags to all tests
...
Bug: T195160
Change-Id: I77ce544e9c166fef6c6fb02f67d1de6ddf0c2465
2018-05-29 11:37:27 -07:00
Kunal Mehta
f76ba3c465
Disable Squiz.Classes.ValidClassName.NotCamelCaps globally
...
Instead of per-file. This happens to also fix a false positive with the
PhpunitAnnotations sniff.
Change-Id: I22621c37217ed2db9d8b3591df1a1421c25fa7f6
2018-05-24 22:26:11 -07:00
Umherirrender
44fe3df9bf
Rename test classes to end with Test
...
Change-Id: I510e5516d56b28d26510423da840b4b496a10833
2018-03-10 14:25:38 +01:00
Kunal Mehta
31820c673a
Move tests into tests/phpunit and remove UnitTestsList hook
...
This takes advantage of extension.json's unit tests autodiscovery
mechanism.
Bug: T142120
Change-Id: Id526f3368fc73ba7e6ef1d793ea70ab05fbd9517
2017-07-07 13:50:39 -07:00