From 6335d766930e3068b1d317083ea4cb2549e00f08 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 74f440519884e..284c53e73b860 100644 --- a/tests/lib/Mail/EMailTemplateTest.php +++ b/tests/lib/Mail/EMailTemplateTest.php @@ -63,7 +63,7 @@ protected function setUp(): void { public function testEMailTemplateCustomFooter() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) @@ -104,7 +104,7 @@ public function testEMailTemplateCustomFooter() { public function testEMailTemplateDefaultFooter() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) @@ -147,7 +147,7 @@ public function testEMailTemplateDefaultFooter() { public function testEMailTemplateSingleButton() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any()) @@ -192,7 +192,7 @@ public function testEMailTemplateSingleButton() { public function testEMailTemplateAlternativePlainTexts() { $this->defaults ->expects($this->any()) - ->method('getColorPrimary') + ->method('getDefaultColorPrimary') ->willReturn('#0082c9'); $this->defaults ->expects($this->any())