From 959e2aaa173440d090af95994f81389169806a41 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 26 Jan 2023 15:12:49 +0100 Subject: [PATCH] fix(tests): Fix method name in unit tests Signed-off-by: Joas Schilling --- tests/lib/Mail/EMailTemplateTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/lib/Mail/EMailTemplateTest.php b/tests/lib/Mail/EMailTemplateTest.php index 74f44051988..284c53e73b8 100644 --- a/tests/lib/Mail/EMailTemplateTest.php +++ b/tests/lib/Mail/EMailTemplateTest.php @@ -63,7 +63,7 @@ class EMailTemplateTest extends TestCase { public function testEMailTemplateCustomFooter() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) @@ -104,7 +104,7 @@ class EMailTemplateTest extends TestCase { public function testEMailTemplateDefaultFooter() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) @@ -147,7 +147,7 @@ class EMailTemplateTest extends TestCase { public function testEMailTemplateSingleButton() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) @@ -192,7 +192,7 @@ class EMailTemplateTest extends TestCase { public function testEMailTemplateAlternativePlainTexts() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) -- 2.39.5