Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 55d046d

Browse files
committed
Change channel code to name
1 parent aa370fc commit 55d046d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Sylius/Behat/Context/Ui/Admin/ManagingShipmentsContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function shipmentOfOrderShouldBe(
6666
];
6767

6868
if ($channel !== null) {
69-
$parameters = ['channel' => $channel->getCode()];
69+
$parameters = ['channel' => $channel->getName()];
7070
}
7171

7272
Assert::true($this->indexPage->isSingleResourceOnPage($parameters));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<span class="ui small horizontal circular label" style="background-color: {{ data.color }}"></span> {{ data.code }}
1+
<span class="ui small horizontal circular label" style="background-color: {{ data.color }}"></span> {{ data.name }}

0 commit comments

Comments
 (0)