Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
GraphQL-483: [Test Coverage] 'SetPaymentMethodOnCart' functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
naydav committed Mar 25, 2019
1 parent e0248ea commit 5aa062c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,15 @@ public function dataProviderSetPaymentMethodWithoutRequiredParameters(): array
{
return [
'missed_cart_id' => [
'payment_method: {code: "'.Checkmo::PAYMENT_METHOD_CHECKMO_CODE.'"}',
'payment_method: {code: "' . Checkmo::PAYMENT_METHOD_CHECKMO_CODE . '"}',
'Required parameter "cart_id" is missing.'
],
'missed_payment_method' => [
'cart_id: "test"',
'Required parameter "code" for "payment_method" is missing.'
],
'missed_payment_method_code' => [
'cart_id: "test",payment_method: {code: ""}',
'cart_id: "test", payment_method: {code: ""}',
'Required parameter "code" for "payment_method" is missing.'
],
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,15 @@ public function dataProviderSetPaymentMethodWithoutRequiredParameters(): array
{
return [
'missed_cart_id' => [
'payment_method: {code: "'.Checkmo::PAYMENT_METHOD_CHECKMO_CODE.'"}',
'payment_method: {code: "' . Checkmo::PAYMENT_METHOD_CHECKMO_CODE . '"}',
'Required parameter "cart_id" is missing.'
],
'missed_payment_method' => [
'cart_id: "test"',
'Required parameter "code" for "payment_method" is missing.'
],
'missed_payment_method_code' => [
'cart_id: "test",payment_method: {code: ""}',
'cart_id: "test", payment_method: {code: ""}',
'Required parameter "code" for "payment_method" is missing.'
],
];
Expand Down

0 comments on commit 5aa062c

Please sign in to comment.