aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-01-30 09:56:36 +0100
committerGitHub <noreply@github.com>2023-01-30 09:56:36 +0100
commitde415fbb15d6c5cceca7b05261947d573a7a512c (patch)
tree8c436e6e9e269cd45c312f211f285026063666e2 /tests
parent97e6fe4b4682f0dfe0d96851494a792ec1934d89 (diff)
parent959e2aaa173440d090af95994f81389169806a41 (diff)
downloadnextcloud-server-de415fbb15d6c5cceca7b05261947d573a7a512c.tar.gz
nextcloud-server-de415fbb15d6c5cceca7b05261947d573a7a512c.zip
Merge pull request #36348 from nextcloud/bugfix/noid/fix-primary-color-usage-in-emails-and-federation
Fix primary color usage in emails and federation
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())