24 $this->assertArrayHasKey(
'attribute_id',
$attribute);
25 $this->assertArrayHasKey(
'attribute_code',
$attribute);
37 'field' =>
'frontend_input',
39 'condition_type' =>
'eq',
52 'resourcePath' => self::RESOURCE_PATH .
'?' . http_build_query(
$searchCriteria),
58 'operation' => self::SERVICE_NAME .
'GetList',
64 $this->assertArrayHasKey(
'search_criteria',
$response);
65 $this->assertArrayHasKey(
'total_count',
$response);
66 $this->assertArrayHasKey(
'items',
$response);
69 $this->assertTrue(
$response[
'total_count'] > 0);
70 $this->assertTrue(count(
$response[
'items']) > 0);
72 $this->assertNotNull(
$response[
'items'][0][
'default_frontend_label']);
73 $this->assertNotNull(
$response[
'items'][0][
'attribute_id']);
90 'operation' => self::SERVICE_NAME .
'Get',
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
getAttribute($attributeCode)