Skip to content

Commit

Permalink
Fixes for new cms version.
Browse files Browse the repository at this point in the history
  • Loading branch information
michalstrzelecki committed Oct 16, 2017
1 parent a4960f8 commit de4218c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/ContentCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function canUseArticleBreadcrumbs(FunctionalTester $I)
'type' => 'category',
'is_active' => 1,
'translations' => [
'title' => 'Lorem Ipsum',
'title' => 'Przykładowa kategoria.',
'lang_code' => 'en',
'is_active' => 1
]
Expand All @@ -39,7 +39,7 @@ public function canUseArticleBreadcrumbs(FunctionalTester $I)

$contentRoute = '/' . $content->route->translations[0]['lang_code'] . '/' . $content->route->translations[0]['url'];
$categoryRoute = '/' . $category->route->translations[0]['lang_code'] . '/' . $category->route->translations[0]['url'];
$linkName = ucwords($category->translations[0]->title);
$linkName = $category->translations[0]->title;

$I->wantTo('use breadcrumbs to go back to category view from article');
$I->amOnPage($contentRoute);
Expand Down

0 comments on commit de4218c

Please sign in to comment.