When running api functional tests on a module which uses non-scalar array extension attribute type, I’ve got the error
ReflectionException: Class "ModuleNameCustomerApiCustomAddressInterface[]" does not exist
the attribute is declared as:
<extension_attributes for="MagentoCompanyApiDataCompanyInterface">
<attribute code="custom_addresses" type="ModuleNameCustomerApiCustomAddressInterface[]" />
</extension_attributes>
The module works perfectly outside the testing framework
I run the tests as:
vendor/bin/phpunit -c $(pwd)/dev/tests/api-functional/phpunit_rest.xml --testsuite testsuite