fix(tests): Fix method name in unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/36348/head
Joas Schilling 1 year ago
parent 79b8c68592
commit 959e2aaa17
No known key found for this signature in database
GPG Key ID: C400AAF20C1BB6FC

@ -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())

Loading…
Cancel
Save