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

Commit

Permalink
#977: [Test coverage] Cover exceptions in AssignShippingAddressToCart…
Browse files Browse the repository at this point in the history
…, AssignBillingAddressToCart
  • Loading branch information
lenaorobei committed Oct 15, 2019
1 parent 5bf67e5 commit f49fe71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ public function testWithInvalidBillingAddressInput()
}
}
QUERY;
self::expectExceptionMessage('The address failed to save. Verify the address and try again.');
$this->expectExceptionMessage('The address failed to save. Verify the address and try again.');
$this->graphQlMutation($query, [], '', $this->getHeaderMap());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ public function testWithInvalidShippingAddressesInput()
}
}
QUERY;
self::expectExceptionMessage('The address failed to save. Verify the address and try again.');
$this->expectExceptionMessage('The address failed to save. Verify the address and try again.');
$this->graphQlMutation($query, [], '', $this->getHeaderMap());
}

Expand Down Expand Up @@ -894,7 +894,6 @@ public function testSetNewShippingAddressWithNotSaveInAddressBook()
}
}


/**
* Verify the all the whitelisted fields for a New Address Object
*
Expand Down

0 comments on commit f49fe71

Please sign in to comment.