Skip to content

Commit 738c562

Browse files
ACQE-8879: Create a simple product with custom options using area and field.
- Rectified code based on standards.
1 parent 3b20593 commit 738c562

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Wishlist/SimpleProductWithCustomOptionToWishlistTest.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
use Magento\Catalog\Test\Fixture\Product as ProductFixture;
1313
use Magento\Customer\Test\Fixture\Customer as CustomerFixture;
1414
use Magento\Framework\ObjectManagerInterface;
15+
use Magento\Framework\Exception\AuthenticationException;
16+
use Magento\Framework\Exception\EmailNotConfirmedException;
1517
use Magento\Integration\Api\CustomerTokenServiceInterface;
1618
use Magento\TestFramework\Fixture\Config;
1719
use Magento\TestFramework\Fixture\DataFixture;
@@ -87,7 +89,7 @@ protected function setUp(): void
8789
*
8890
* @return void
8991
*/
90-
public function testAddSimpleProductWithCustomOptionsToWishlistTest(): void
92+
public function testAddSimpleProductWithCustomOptionsToWishlist(): void
9193
{
9294
$sku = 'simple_co';
9395
$uids = $this->getEnteredOptionUids($sku, [
@@ -197,8 +199,8 @@ private function getEnteredOptionUids(string $sku, array $types): array
197199
* Get customer token for authentication
198200
*
199201
* @return string[]
200-
* @throws \Magento\Framework\Exception\AuthenticationException
201-
* @throws \Magento\Framework\Exception\EmailNotConfirmedException
202+
* @throws AuthenticationException
203+
* @throws EmailNotConfirmedException
202204
*/
203205
private function getHeadersMap(): array
204206
{

0 commit comments

Comments
 (0)