|
| setUp () |
|
| 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 17 of file CartManagementTest.php.
◆ setUp()
Definition at line 31 of file CartManagementTest.php.
34 $appConfig = $this->objectManager->get(Config::class);
static getObjectManager()
◆ testAssignCustomerThrowsExceptionIfThereIsNoCartWithGivenId()
testAssignCustomerThrowsExceptionIfThereIsNoCartWithGivenId |
( |
| ) |
|
@magentoApiDataFixture Magento/Customer/_files/customer.php @expectedException \Exception
Definition at line 213 of file CartManagementTest.php.
220 'serviceVersion' =>
'V1',
221 'operation' => self::SERVICE_NAME .
'AssignCustomer',
224 'resourcePath' =>
'/V1/carts/' .
$cartId,
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
◆ testCreateEmptyCartForGuest()
testCreateEmptyCartForGuest |
( |
| ) |
|
Definition at line 48 of file CartManagementTest.php.
58 'operation' => self::SERVICE_NAME .
'CreateEmptyCart',
64 $this->assertGreaterThan(0,
$quoteId);
_webApiCall( $serviceInfo, $arguments=[], $webApiAdapterCode=null, $storeCode=null, $integration=null)
◆ $createdQuotes
◆ $objectManager
◆ RESOURCE_PATH
const RESOURCE_PATH = '/V1/carts/' |
◆ RESOURCE_PATH_CUSTOMER_TOKEN
const RESOURCE_PATH_CUSTOMER_TOKEN = "/V1/integration/customer/token" |
◆ SERVICE_NAME
const SERVICE_NAME = 'quoteCartManagementV1' |
◆ SERVICE_VERSION
const SERVICE_VERSION = 'V1' |
The documentation for this class was generated from the following file: