$customer =
$this->
getCustomer();
static::
assertEquals(['DE123456789'
],
$customer->
getVatIds());
static::
assertEquals($changeData['company'
],
$customer->
getCompany());
static::
assertEquals($changeData['firstName'
],
$customer->
getFirstName());
static::
assertEquals($changeData['lastName'
],
$customer->
getLastName());
} public function testChangeProfileDataWithCommercialAccountAndVatIdsIsEmpty(): void
{ $this->
setVatIdOfTheCountryToValidateFormat();
$changeData =
[ 'salutationId' =>
$this->
getValidSalutationId(),
'accountType' => CustomerEntity::ACCOUNT_TYPE_BUSINESS,
'firstName' => 'Max',
'lastName' => 'Mustermann',
'company' => 'Test Company',
'vatIds' =>
[],
];
$this->browser
->
request(