|
| setUp () |
|
| _getCustomerWithFilter ($filter, $customerId, $path='') |
|
| tearDown () |
|
| _webApiCall ( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null) |
|
| _markTestAsSoapOnly ($message=null) |
|
| _markTestAsRestOnly ($message=null) |
|
| _getWebApiAdapter ($webApiAdapterCode) |
|
| _assertMessagesEqual ($expectedMessages, $receivedMessages) |
|
| _cleanAppConfigCache () |
|
| _restoreAppConfig () |
|
| checkSoapFault ( $soapFault, $expectedMessage, $expectedFaultCode, $expectedErrorParams=[], $expectedWrappedErrors=[], $traceString=null) |
|
| _checkFaultParams ($expectedErrorParams, $errorDetails) |
|
| _checkWrappedErrors ($expectedWrappedErrors, $errorDetails) |
|
Definition at line 13 of file PartialResponseTest.php.
◆ _getCustomerWithFilter()
_getCustomerWithFilter |
( |
|
$filter, |
|
|
|
$customerId, |
|
|
|
$path = '' |
|
) |
| |
|
protected |
Definition at line 80 of file PartialResponseTest.php.
82 $resourcePath = sprintf(
92 'resourcePath' => $resourcePath,
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
◆ setUp()
Definition at line 21 of file PartialResponseTest.php.
26 ->get(\
Magento\TestFramework\Helper\Customer::class);
28 $this->customerData = $this->customerHelper->createSampleCustomer();
_markTestAsRestOnly($message=null)
static getObjectManager()
◆ testCustomerInvalidFilter()
testCustomerInvalidFilter |
( |
| ) |
|
◆ testCustomerWithEmailAndAddressFilter()
testCustomerWithEmailAndAddressFilter |
( |
| ) |
|
Definition at line 39 of file PartialResponseTest.php.
41 $filter =
'email,addresses[city]';
43 'email' => $this->customerData[
'email'],
45 [
'city' => CustomerHelper::ADDRESS_CITY1],
46 [
'city' => CustomerHelper::ADDRESS_CITY2],
50 $this->assertEquals($expected,
$result);
_getCustomerWithFilter($filter, $customerId, $path='')
◆ testCustomerWithEmailFilter()
testCustomerWithEmailFilter |
( |
| ) |
|
Definition at line 31 of file PartialResponseTest.php.
34 $expected = [
'email' => $this->customerData[
'email']];
36 $this->assertEquals($expected,
$result);
_getCustomerWithFilter($filter, $customerId, $path='')
◆ testCustomerWithNestedAddressFilter()
testCustomerWithNestedAddressFilter |
( |
| ) |
|
Definition at line 53 of file PartialResponseTest.php.
55 $filter =
'addresses[region[region_code]]';
58 [
'region' => [
'region_code' => CustomerHelper::ADDRESS_REGION_CODE1]],
59 [
'region' => [
'region_code' => CustomerHelper::ADDRESS_REGION_CODE2]],
63 $this->assertEquals($expected,
$result);
_getCustomerWithFilter($filter, $customerId, $path='')
◆ testFilterForCustomerApiWithSimpleResponse()
testFilterForCustomerApiWithSimpleResponse |
( |
| ) |
|
◆ $customerData
◆ $customerHelper
The documentation for this class was generated from the following file: