Skip to content

Commit e0fd7b0

Browse files
committed
Add richer data to mergeFields in tests.
1 parent 5ed8286 commit e0fd7b0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tests/src/MailchimpLists.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,26 @@ public function getMergeFields($list_id, $parameters = []) {
210210
(object) [
211211
'merge_id' => 1,
212212
'tag' => 'FNAME',
213+
'required' => FALSE,
214+
'public' => TRUE,
213215
'list_id' => $list_id,
214216
],
215217
(object) [
216218
'merge_id' => 2,
217219
'tag' => 'LNAME',
220+
'required' => TRUE,
221+
'public' => TRUE,
222+
'list_id' => $list_id,
223+
],
224+
(object) [
225+
'merge_id' => 3,
226+
'tag' => 'PRIVATE',
227+
'required' => FALSE,
228+
'public' => FALSE,
218229
'list_id' => $list_id,
219230
],
220231
],
221-
'total_items' => 2,
232+
'total_items' => 3,
222233
];
223234

224235
return $response;

0 commit comments

Comments
 (0)