- Issue created by @mondrake
- Status changed to Needs review
4 months ago 5:14pm 16 September 2024 - 🇮🇳India mdsohaib4242
Instead of:
$mock = $this->getMockForAbstractClass(EntityLink::class);
You can use PHPUnit's mocking framework like this:
$mock = $this->createMock(EntityLink::class);
This creates a mock object of EntityLink without relying on getMockForAbstractClass().
- Status changed to RTBC
4 months ago 1:47pm 17 September 2024 - 🇬🇧United Kingdom catch
Hmm the commit is not showing up here, but pretty sure the push went through OK - just noting in case it never shows up.
Automatically closed - issue fixed for 2 weeks with no activity.