Skip to content

Commit

Permalink
MAGETWO-59130: [Github] REST API with searchCriteria does not return …
Browse files Browse the repository at this point in the history
…category_ids #6127
  • Loading branch information
Stanislav Idolov committed Oct 21, 2016
1 parent 15b0842 commit a7db6d9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,9 @@ public function testGetList()
}
}
$this->assertNotNull($index, 'Category information wasn\'t set');
$this->assertEquals(['2'], $response['items'][0]['custom_attributes'][$index]['value']);

$expectedResult = (TESTS_WEB_API_ADAPTER == self::ADAPTER_SOAP) ? ['string' => '2'] : ['2'];
$this->assertEquals($expectedResult, $response['items'][0]['custom_attributes'][$index]['value']);
}

/**
Expand Down

0 comments on commit a7db6d9

Please sign in to comment.