Commit graph

5 commits

Author SHA1 Message Date
Umherirrender a30fb4b54b tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: I38462a30a3c739f1475bab07bd355c2e058e7110
2023-05-20 13:54:24 +02:00
Reedy f647423039 Correct namespacing to match best practices
Bug: T303105
Change-Id: Ic09ed23c4248e74f93e5807212fe73d241251281
2022-03-05 15:06:59 +00:00
James D. Forrester 57d561a797 phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException and make pass
Change-Id: I5a0fc6dc753e3d3a0192647304d4b02e467f23a5
2019-10-12 03:10:31 +00:00
Max Semenik 1e8444fad1 Improve ExprParser test coverage
Had to change a bit how ExprError is used, to prevent having to turn unit
tests into ingergation tests, adding 5 seconds to run time.

Change-Id: Id4e158f3a4418d320b1c0bdac834ebbba03762af
2019-09-05 15:37:21 -07:00
Max Semenik 890874c771 Mark ExpressionTest as unit
Change-Id: I0321a100ff60b3adf7e0aec400287a5be7384541
2019-07-22 00:42:21 -07:00