Umherirrender
92bc1f3d2f
Use namespaced classes
...
Changes to the use statements done automatically via script
Addition of missing use statements done manually
Change-Id: Id44f211320e56bc83e4c8f243369dc4eb562cf37
2023-12-11 00:07:55 +01:00
gerritbot
4bc5e7ed8f
Replace some moved Title class uses, now MediaWiki\Title\Title
...
Bug: T321681
Change-Id: I639a03a5f828d7036e29a11a8a45d8d1e8923590
2023-08-19 04:14:21 +00:00
Daimona Eaytoy
d00a84066f
Avoid DB access in HTMLFancyCaptchaFieldTest
...
The test needs the database when the WikimediaMessages extension is
enabled.
Change-Id: I3757a849f522c03194866ac29d9ee132e2bae595
2023-08-04 02:10:41 +02:00
gerritbot
f6bd4eb1aa
Update moved class FauxRequest
...
See T321882. Moved in I832b133aaf61ee
Bug: T321681
Change-Id: Ic7accc3410547a0d1ff9d7a04836a7f6e64872f9
2023-05-19 14:15:24 +03:00
Reedy
a0feac27b0
Namespace captchas
...
Change-Id: I2933639f9cb50db2101c4765ce9d8f9069d253b8
2022-12-13 21:40:30 +00:00
Daimona Eaytoy
32f9cf26a6
Replace assertNotRegExp -> assertDoesNotMatchRegularExpression
...
Follow-up to I6859b48f7a9084101e981fb48449c1c1dc17a80c.
Bug: T243600
Change-Id: Ifdba0f9e98eb6bce4590b7eb73170c51a697d7c6
2022-10-07 16:52:36 +02:00
Daimona Eaytoy
b156d227aa
tests: Replace assertRegExp with assertMatchesRegularExpression
...
The method was renamed in PHPUnit 9.
Done automatically with:
grep -rl assertRegExp tests/ | xargs sed -r -i "s/>assertRegExp\(/>assertMatchesRegularExpression\(/"
Also extend MediaWikiIntegrationTestCase, so that it can use the
forward-compatible assertMatchesRegularExpression method.
Bug: T243600
Change-Id: I6859b48f7a9084101e981fb48449c1c1dc17a80c
2022-10-07 15:31:59 +02:00
Bartosz Dziewoński
5880031d1c
tests: Pass context to HTMLForm constructor
...
Change-Id: I8777b2b2d6a87695f6517f259f31a177356ac8f5
2022-05-15 23:35:03 +02:00
libraryupgrader
bef3c335b5
build: Updating composer dependencies
...
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0
Change-Id: Ib16a714334088d26d3fbaa88b5c9395fa0ab67a5
2021-05-04 04:14:03 +00:00
Aryeh Gregor
422dccc7b0
Do not attempt to mock 'object'
...
This doesn't work in PHP 7.2, because 'object' is no longer a valid
class name. stdClass works fine.
Change-Id: I47375fdf2f36ff62985b2e8c90fa0e5230273984
2018-10-09 15:10:33 +03:00
Max Semenik
5b7a36a521
Clean up some phpcs problems
...
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00
libraryupgrader
08bfd32590
build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
...
Change-Id: Ide145e5755e0bec11fe19c18889c92a0e9d78037
2018-02-15 09:34:50 +00:00
Kunal Mehta
e1f45829d4
Add @covers tags
...
Change-Id: I1e99261acb13c86e96c1b2dd1cb61918ebc660c2
2018-01-23 15:59:08 -08:00
Reedy
6a8c53f6d1
Remove 'UnitTestList' hook
...
No longer needed now that extension unittests are autodiscovered.
Bug: T142120
Bug: T142121
Change-Id: I7105170e56c8c3ec3837dd15be869e503bccecde
2016-08-05 18:46:15 +01:00