Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 9e89e23

Browse files
dantleechwouterj
authored andcommitted
Fixed test
1 parent 52ce0b0 commit 9e89e23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/Functional/EventListener/AutoRouteListenerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,9 @@ public function testMultilangArticleRemainsSameLocale()
274274
{
275275
$article = new Article;
276276
$article->path = '/test/article-1';
277+
$article->title = 'Good Day';
277278
$this->getDm()->persist($article);
279+
$this->getDm()->flush();
278280

279281
$article->title = 'Hello everybody!';
280282
$this->getDm()->bindTranslation($article, 'en');

0 commit comments

Comments
 (0)