- Issue created by @mondrake
- Status changed to Needs review
6 months ago 8:06pm 23 March 2024 - Status changed to RTBC
6 months ago 9:17am 24 March 2024 - 🇳🇱Netherlands Spokje
This MR replaces
getMockForTrait()
with adding a test class which uses the Trait.
AFAICT this is indeed the recommended way to do this.After applying the MR there are no references left regarding
getMockForTrait()
, tests are green => RTBC. - 🇬🇧United Kingdom alexpott 🇪🇺🌍
Committed and pushed e0644f929b to 11.x and 21f80a6788 to 10.3.x and cf7fefab0e to 10.2.x. Thanks!
Backported to 10.2.x to keep tests aligned.
-
alexpott →
committed cf7fefab on 10.2.x
Issue #3433091 by mondrake: Method getMockForTrait() of class PHPUnit\...
-
alexpott →
committed cf7fefab on 10.2.x
-
alexpott →
committed 21f80a67 on 10.3.x
Issue #3433091 by mondrake: Method getMockForTrait() of class PHPUnit\...
-
alexpott →
committed 21f80a67 on 10.3.x
- Status changed to Fixed
6 months ago 10:50am 24 March 2024 -
alexpott →
committed e0644f92 on 11.x
Issue #3433091 by mondrake: Method getMockForTrait() of class PHPUnit\...
-
alexpott →
committed e0644f92 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.