Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b232d3f

Browse files
committed
MAGETWO-62833: Integration test for Guarantee cancelation flow
- phrase updated
1 parent 7b60c47 commit b232d3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Controller/Adminhtml/Guarantee/CancelTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function testExecuteWithNotAvailableGuarantee()
8888

8989
self::assertRedirect(self::stringContains('backend/sales/order/view'));
9090
self::assertSessionMessages(
91-
self::equalTo(['Sorry, we cannot cancel Guarantee for order.']),
91+
self::equalTo(['Sorry, we cannot cancel Guarantee for your order.']),
9292
MessageInterface::TYPE_ERROR
9393
);
9494
}
@@ -119,7 +119,7 @@ public function testExecuteWithCancelingFailedRequest()
119119

120120
self::assertRedirect(self::stringContains('backend/sales/order/view'));
121121
self::assertSessionMessages(
122-
self::equalTo(['Sorry, we cannot cancel Guarantee for order.']),
122+
self::equalTo(['Sorry, we cannot cancel Guarantee for your order.']),
123123
MessageInterface::TYPE_ERROR
124124
);
125125
}
@@ -150,7 +150,7 @@ public function testExecute()
150150

151151
self::assertRedirect(self::stringContains('backend/sales/order/view'));
152152
self::assertSessionMessages(
153-
self::equalTo(['Guarantee has been cancelled for order.']),
153+
self::equalTo(['Guarantee has been cancelled for your order.']),
154154
MessageInterface::TYPE_SUCCESS
155155
);
156156
}

0 commit comments

Comments
 (0)