forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
magento/graphql-ce:magento#678 Send email to friend
- Loading branch information
1 parent
ee8ad58
commit 193d4d1
Showing
3 changed files
with
17 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,6 @@ public function testSendWithoutExistProduct() | |
}'; | ||
$query = $this->getQuery($productId, $recipients); | ||
|
||
$this->expectException(\Exception::class); | ||
$this->expectExceptionMessage( | ||
'The product that was requested doesn\'t exist. Verify the product and try again.' | ||
); | ||
|
@@ -276,9 +275,10 @@ public function testSendProductWithoutVisibility() | |
email:"[email protected]" | ||
}'; | ||
$query = $this->getQuery($productId, $recipients); | ||
|
||
$response = $this->graphQlMutation($query, [], '', $this->getHeaderMap()); | ||
$this->assertResponse($response); | ||
$this->expectExceptionMessage( | ||
'The product that was requested doesn\'t exist. Verify the product and try again.' | ||
); | ||
$this->graphQlMutation($query, [], '', $this->getHeaderMap()); | ||
} | ||
|
||
/** | ||
|