]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(tests): Fix method name in unit tests 36348/head
authorJoas Schilling <coding@schilljs.com>
Thu, 26 Jan 2023 14:12:49 +0000 (15:12 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 30 Jan 2023 08:12:50 +0000 (09:12 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
tests/lib/Mail/EMailTemplateTest.php

index 74f440519884e4e51a400bf598d44b67d1a1b171..284c53e73b8609b7c30dbb4ebde2aa4c0d27f39c 100644 (file)
@@ -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())