projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b7d4a
)
CRM-15578 - MailingTest::testMailerDeleteSuccess - Fix invalid "created_id" when...
author
Tim Otten
<totten@civicrm.org>
Tue, 18 Nov 2014 06:51:26 +0000
(22:51 -0800)
committer
Tim Otten
<totten@civicrm.org>
Thu, 20 Nov 2014 23:08:58 +0000
(15:08 -0800)
tests/phpunit/api/v3/MailingTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/MailingTest.php
b/tests/phpunit/api/v3/MailingTest.php
index c52728ff78936cf12c0fa44f9b083b99bc94032b..aa282b20bbb38ee060b7b4bd68884a89167d1bc9 100755
(executable)
--- a/
tests/phpunit/api/v3/MailingTest.php
+++ b/
tests/phpunit/api/v3/MailingTest.php
@@
-55,6
+55,7
@@
class api_v3_MailingTest extends CiviUnitTestCase {
parent::setUp();
CRM_Mailing_BAO_MailingJob::$mailsProcessed = 0; // DGW
$this->_contactIDs = array();
+ $this->_contactIDs[] = $this->individualCreate();
$this->_groupID = $this->groupCreate();
$this->_groupIDs = array();
$this->_email = 'test@test.test';
@@
-62,7
+63,7
@@
class api_v3_MailingTest extends CiviUnitTestCase {
'subject' => 'maild',
'body_text' => "This is {contact.display_name}",
'name' => 'mailing name',
- 'created_id' =>
1
,
+ 'created_id' =>
$this->_contactIDs[0]
,
);
}