Skip to content

Commit 6457f24

Browse files
committed
Fix tests
1 parent 63f4564 commit 6457f24

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

features/bootstrap/FeatureContext.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,16 +473,15 @@ public function thereIsARelatedDummyWithFriends($nb)
473473
}
474474

475475
/**
476-
* @Given there is an answer :answer to the question :question
476+
* @Given there is an answer ":answer" to the question ":question"
477477
*/
478-
public function thereIsAnAnswerToTheQuestion($a, $q)
478+
public function thereIsAnAnswerToTheQuestion(string $a, string $q)
479479
{
480480
$answer = new Answer();
481481
$answer->setContent($a);
482482

483483
$question = new Question();
484484
$question->setContent($q);
485-
486485
$question->setAnswer($answer);
487486

488487
$this->manager->persist($answer);

0 commit comments

Comments
 (0)