We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a833caf + a033968 commit 7b92ff8Copy full SHA for 7b92ff8
tests/Api/SegmentsTest.php
@@ -21,7 +21,20 @@ class SegmentsTest extends MauticApiTestCase
21
public function setUp() {
22
$this->api = $this->getContext('segments');
23
$this->testPayload = array(
24
- 'name' => 'API test'
+ 'name' => 'List all GMail contacts',
25
+ 'description' => 'Created via API Library unit tests',
26
+ 'isGlobal' => true,
27
+ 'filters' => array(
28
+ array(
29
+ 'glue' => 'and',
30
+ 'field' => 'email',
31
+ 'object' => 'lead',
32
+ 'type' => 'email',
33
+ 'filter' => '*@gmail.com',
34
+ 'display' => null,
35
+ 'operator' => 'like',
36
+ ),
37
38
);
39
}
40
0 commit comments