@@ -77,26 +77,26 @@ public function testCustomerWishlist(): void
77
77
*/
78
78
public function testWishlistCreationScenario (): void
79
79
{
80
- $ customerEmail = 'customer@wishlist.com ' ;
81
- $ this ->graphQlMutation (
82
- $ this ->getCreateCustomerQuery ($ customerEmail ),
83
- [],
84
- ''
85
- );
86
- $ response = $ this ->graphQlQuery (
87
- $ this ->getQuery (),
88
- [],
89
- '' ,
90
- $ this ->getCustomerAuthHeaders ($ customerEmail , '123123^q ' )
91
- );
92
- $ this ->assertArrayHasKey ('wishlists ' , $ response ['customer ' ]);
93
- $ wishlists = $ response ['customer ' ]['wishlists ' ];
94
- $ this ->assertNotEmpty ($ wishlists );
95
- $ wishlist = $ wishlists [0 ];
96
- $ this ->assertEquals (0 , $ wishlist ['items_count ' ]);
97
- $ sku = 'simple-1 ' ;
98
- $ qty = 1 ;
99
80
try {
81
+ $ customerEmail = 'customer@wishlist.com ' ;
82
+ $ this ->graphQlMutation (
83
+ $ this ->getCreateCustomerQuery ($ customerEmail ),
84
+ [],
85
+ ''
86
+ );
87
+ $ response = $ this ->graphQlQuery (
88
+ $ this ->getQuery (),
89
+ [],
90
+ '' ,
91
+ $ this ->getCustomerAuthHeaders ($ customerEmail , '123123^q ' )
92
+ );
93
+ $ this ->assertArrayHasKey ('wishlists ' , $ response ['customer ' ]);
94
+ $ wishlists = $ response ['customer ' ]['wishlists ' ];
95
+ $ this ->assertNotEmpty ($ wishlists );
96
+ $ wishlist = $ wishlists [0 ];
97
+ $ this ->assertEquals (0 , $ wishlist ['items_count ' ]);
98
+ $ sku = 'simple-1 ' ;
99
+ $ qty = 1 ;
100
100
$ addProductToWishlistQuery =
101
101
<<<QUERY
102
102
mutation{
0 commit comments