51 public function testCreditmemoAddComment()
54 $creditmemoCollection =
56 $creditmemo = $creditmemoCollection->getFirstItem();
59 Comment::COMMENT =>
'Hello world!',
60 Comment::ENTITY_ID =>
null,
61 Comment::CREATED_AT =>
null,
63 Comment::IS_VISIBLE_ON_FRONT => 1,
64 Comment::IS_CUSTOMER_NOTIFIED => 1,
70 'resourcePath' =>
'/V1/creditmemo/' .
$creditmemo->getId() .
'/comments',
76 'operation' => self::SERVICE_READ_NAME .
'save',
83 self::assertNotEmpty(
$result[Comment::ENTITY_ID]);
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
static getObjectManager()