Commit Graph

4 Commits

Author SHA1 Message Date
Fomafix
e7ab5faf2f Use type hints for TypeError exception
This change allows to replace the Assert::parameterType by a type hint
in Ie215179b4631fd9071b257772c5cb193547cb7d7.

Change-Id: I399a92d3fac0e0849fe3a403c703fe7d32f51257
2019-10-31 19:12:09 +00:00
Amir Sarabadani
f1e9eedb96 Clean up most of b/c for phpunit4
We don't support phpunit4 anymore:
https://w.wiki/9UT

Change-Id: Id7ad0e139f454becfac87bedca75b271250d387c
2019-10-05 19:44:54 +02:00
Fomafix
ce063ac705 ULSJsonMessageLoaderTest: Expect a generic Exception
This allows to change from MWException to
Wikimedia\Assert\ParameterTypeException by
I8287118cf8ec01326ead9c90a38f7b4134c3eba9.

Change-Id: Ib0cb388958cf720052ca6df73d5145b7ab3f9529
2019-03-14 10:05:59 +00:00
Thiemo Kreuz
24559cd1af Add basic tests for ULS' ResourceLoader modules
This is a starting point to increase the test coverage in this code
base.

Change-Id: I215713e928e9b55615afd17ccf7a7082ef559e01
2018-12-22 00:00:00 +00:00