Ensure contacts is just an array with no additional scalar values
This commit is contained in:
parent
a9a0b7175d
commit
6cc440f542
|
|
@ -143,15 +143,14 @@ class ClientTest extends TestCase
|
||||||
{
|
{
|
||||||
$data = [
|
$data = [
|
||||||
|
|
||||||
'address1' => '105 Corlett Drive',
|
'address1' => '105 Drive',
|
||||||
'address2' => '122',
|
'address2' => '122',
|
||||||
'city' => 'Melrose',
|
'city' => 'NoRoses',
|
||||||
'contacts' => [
|
'contacts' => [
|
||||||
'0' => [
|
'0' => [
|
||||||
'email' => 'craig@defined.co.za',
|
'email' => 'craig@.za',
|
||||||
'first_name' => 'Leon',
|
'first_name' => 'Leon',
|
||||||
'id' => 'O5xe7W8e7r',
|
'last_name' => 'Labagne'
|
||||||
'last_name' => 'Labuschagne'
|
|
||||||
],
|
],
|
||||||
'is_primary' => true,
|
'is_primary' => true,
|
||||||
'send_email' => false
|
'send_email' => false
|
||||||
|
|
@ -162,7 +161,7 @@ class ClientTest extends TestCase
|
||||||
'postal_code' => '2196',
|
'postal_code' => '2196',
|
||||||
'private_notes' => 'DMARC Client | Tenant ID: 45 | Team Name: Targas',
|
'private_notes' => 'DMARC Client | Tenant ID: 45 | Team Name: Targas',
|
||||||
'state' => 'Gauteng',
|
'state' => 'Gauteng',
|
||||||
'vat_number' => 'VAT: 1321321321'
|
'vat_number' => 'VAT: 33'
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue