summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-26 15:12:49 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-30 09:12:50 +0100
commit959e2aaa173440d090af95994f81389169806a41 (patch)
tree8c436e6e9e269cd45c312f211f285026063666e2 /tests
parent79b8c6859200d4e3a861b537fc098099e8dd2af1 (diff)
downloadnextcloud-server-959e2aaa173440d090af95994f81389169806a41.tar.gz
nextcloud-server-959e2aaa173440d090af95994f81389169806a41.zip
fix(tests): Fix method name in unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Mail/EMailTemplateTest.php8
1 files 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())