Skip to content

Commit 5594611

Browse files
committed
LYNX-319: Fixed static tests
1 parent 8902c8f commit 5594611

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ public function testAddAllItemsToCart(): void
115115
public function testAddItemsToCartForInvalidUser(): void
116116
{
117117
$this->expectException(Exception::class);
118-
$this->expectExceptionMessage("The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.");
118+
$this->expectExceptionMessage(
119+
'The account sign-in was incorrect or your account is disabled temporarily. '
120+
. 'Please wait and try again later.'
121+
);
119122

120123
$wishlist = $this->getWishlist();
121124
$customerWishlist = $wishlist['customer']['wishlists'][0];
@@ -206,7 +209,9 @@ public function testAddItemsToCartWithInvalidItemId(): void
206209
$query = $this->getQuery($customerWishlist['id'], $itemId);
207210
$this->graphQlMutation($query, [], '', $this->getHeaderMap());
208211
}
209-
/** Add all items from customer's wishlist to cart
212+
213+
/**
214+
* Add all items from customer's wishlist to cart
210215
*
211216
* @magentoApiDataFixture Magento/GraphQl/Catalog/_files/simple_product.php
212217
* @magentoConfigFixture wishlist/general/active 1
@@ -437,6 +442,4 @@ private function getCustomerCartQuery(): string
437442
}
438443
QUERY;
439444
}
440-
441-
442445
}

0 commit comments

Comments
 (0)