We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e435e1a commit 1c073d3Copy full SHA for 1c073d3
tests/Clients/ContactTest.php
@@ -29,14 +29,16 @@ public function testGetPageWithFilters(): void
29
{
30
[$api, $client] = $this->createClientMockObject(Contact::class);
31
32
+ $client->email = 'john.doe@example.com';
33
+ $client->name = 'John Doe';
34
$client->number = 12345;
35
$client->customer = true;
36
$client->vendor = false;
37
38
$client->getPage(0);
39
40
$this->assertEquals(
- $api->apiUrl . '/v1/contacts?page=0&number=12345&customer=1&vendor=0&size=100',
41
+ $api->apiUrl . '/v1/contacts?page=0&email=john.doe%40example.com&name=John+Doe&number=12345&customer=1&vendor=0&size=100',
42
$api->getRequest()->getUri()->__toString()
43
);
44
}
0 commit comments