From 95e18ddc42fcef8f958035e511ac3b13a5aecbed Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 3 Aug 2016 18:59:27 +1000 Subject: [PATCH] Fix mailing test and allow for name or label to be used in navigation as that seems to be allowable --- tests/phpunit/api/v3/MailingTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/api/v3/MailingTest.php b/tests/phpunit/api/v3/MailingTest.php index ca57d4a732..deec2f8a44 100755 --- a/tests/phpunit/api/v3/MailingTest.php +++ b/tests/phpunit/api/v3/MailingTest.php @@ -63,6 +63,8 @@ class api_v3_MailingTest extends CiviUnitTestCase { ); $this->footer = civicrm_api3('MailingComponent', 'create', array( + 'name' => 'test domain footer', + 'component_type' => 'footer', 'body_html' => '

From {domain.address}. To opt out, go to {action.optOutUrl}.

', 'body_text' => 'From {domain.address}. To opt out, go to {action.optOutUrl}.', )); -- 2.25.1