magento / adobe-stock-integration

Magento Adobe Stock integration Community Project.
Open Software License 3.0
60 stars 92 forks source link

Fix Adobe Stock Integration WebAPI tests #1839

Closed sivaschenko closed 4 years ago

sivaschenko commented 4 years ago

Adobe Stock Integration WebAPI tests are not currently running on builds on the pull request.

The tests have to be launched locally and fixed.

Current failures:

Magento\AdobeStockAsset\Test\Api\AssetRepository\DeleteByIdTest::testDelete
Parameters in fault details are invalid.
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    1 => 1
+    'id' => '1'
 )
Magento\AdobeStockAsset\Test\Api\AssetRepository\GetByIdTest::testGetAssetById
SoapFault: looks like we got no XML document
Magento\AdobeStockAsset\Test\Api\AssetRepository\GetListTest::testGetList
TypeError: Argument 1 passed to Magento\Framework\Api\SimpleDataObjectConverter::convertKeysToCamelCase() must be of the type array, object given, called in /var/www/html/dev/tests/api-functional/framework/Magento/TestFramework/TestCase/Webapi/Adapter/Soap.php on line 54
Magento\AdobeStockImage\Test\Api\SearchExecuteTest::testSearchExecute
SoapFault: Adobe API Key is invalid!

To run the tests on PR - a related infrastructure should be added, see example: https://github.com/magento/partners-magento2-infrastructure/pull/39/files

Build with failures: http://10.234.235.163:8080/job/WebAPI-Tests/2552 Jira: https://jira.corp.magento.com/browse/ENGCOM-8228

m2-assistant[bot] commented 4 years ago

Hi @sivaschenko. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this