|
|
@@ -366,7 +366,6 @@ class DolibarrSyncServiceTest extends TestCase
|
|
|
$addressPostal->method('getAddressCity')->willReturn($organizationData1['city']);
|
|
|
|
|
|
$dolibarrSyncService
|
|
|
- ->expects(self::exactly(2))
|
|
|
->method('getOrganizationEmail')
|
|
|
->willReturnMap([
|
|
|
[$organization1, $organizationData1['email']],
|
|
|
@@ -374,7 +373,6 @@ class DolibarrSyncServiceTest extends TestCase
|
|
|
]);
|
|
|
|
|
|
$dolibarrSyncService
|
|
|
- ->expects(self::exactly(2))
|
|
|
->method('getOrganizationPhone')
|
|
|
->willReturnMap([
|
|
|
[$organization1, $organizationData1['phone']],
|
|
|
@@ -588,14 +586,9 @@ class DolibarrSyncServiceTest extends TestCase
|
|
|
$this->assertEqualsCanonicalizing(
|
|
|
[
|
|
|
'[PUT thirdparties/2]',
|
|
|
- 'address : (new) => ``',
|
|
|
- 'email : (new) => ``',
|
|
|
'name : (new) => `Organization 20`',
|
|
|
'parent : (new) => ``',
|
|
|
- 'phone : (new) => ``',
|
|
|
'status : (new) => `1`',
|
|
|
- 'town : (new) => ``',
|
|
|
- 'zip : (new) => ``',
|
|
|
'array_options.options_2iopen_software_opentalent : (new) => `Opentalent Artist`',
|
|
|
"array_options.options_2iopeninfoopentalent : (new) => `Nombre d'adhérents : 0\nNombre d'accès admin : 2`",
|
|
|
],
|