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

Commit

Permalink
Fixed error messages assertions in api-functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar committed Sep 19, 2018
1 parent 462601c commit 2f4767d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function testGuestCustomerAttemptToChangeCustomerCart()
$this->quoteResource->save($this->quote);
$query = $this->prepareAddCouponRequestQuery($maskedQuoteId, $couponCode);

self::expectExceptionMessage('The current user cannot perform operations on the selected cart');
self::expectExceptionMessage('The current user cannot perform operations on cart "' . $maskedQuoteId . '"');
$this->graphQlQuery($query);
}

Expand Down Expand Up @@ -178,7 +178,7 @@ public function testRemoveCouponFromCustomerCartByGuest()
$this->quoteResource->save($this->quote);
$query = $this->prepareRemoveCouponRequestQuery($maskedQuoteId);

self::expectExceptionMessage('The current user cannot perform operations on the selected cart');
self::expectExceptionMessage('The current user cannot perform operations on cart "' . $maskedQuoteId . '"');
$this->graphQlQuery($query);
}

Expand Down

0 comments on commit 2f4767d

Please sign in to comment.