chore: upgrade phpunit to 12.5
This commit is contained in:
1 parent
da039d0527
commit
849da8d471
53 files changed
+832
-856
No files matched your search
@@ -228,7 +228,7 @@ class EmailTextRendererTest extends KernelTestCase
|
||||
*/
|
||||
public function testGivenValuesAreRenderedInsteadOfTheStoredOnes(): void
|
||||
{
|
||||
$repository = $this->createMock(EmailTextRepository::class);
|
||||
$repository = $this->createStub(EmailTextRepository::class);
|
||||
$repository
|
||||
->method('findByKey')
|
||||
->willReturn($this->emailText(subject: 'Gespeichert', body: 'Gespeicherter Text'))
|
||||
@@ -264,7 +264,7 @@ class EmailTextRendererTest extends KernelTestCase
|
||||
|
||||
$renderer = new EmailTextRenderer(
|
||||
self::getContainer()->get(EmailTextCatalog::class),
|
||||
$this->createMock(EmailTextRepository::class),
|
||||
$this->createStub(EmailTextRepository::class),
|
||||
self::getContainer()->get(MailBodyRenderer::class)
|
||||
);
|
||||
|
||||
@@ -286,7 +286,7 @@ class EmailTextRendererTest extends KernelTestCase
|
||||
*/
|
||||
private function render(?EmailText $emailText, array $placeholders): \App\Model\RenderedEmailTextDto
|
||||
{
|
||||
$repository = $this->createMock(EmailTextRepository::class);
|
||||
$repository = $this->createStub(EmailTextRepository::class);
|
||||
$repository
|
||||
->method('findByKey')
|
||||
->willReturn($emailText)
|
||||
|
||||
Reference in new issue
Block a user