added missing last argument (fixes #7)
This commit is contained in:
@@ -373,7 +373,7 @@ class MinkContext extends RawMinkContext implements TranslatedContextInterface
|
|||||||
*/
|
*/
|
||||||
public function assertNumElements($num, $element)
|
public function assertNumElements($num, $element)
|
||||||
{
|
{
|
||||||
$this->assertSession()->elementsCount('css', $element);
|
$this->assertSession()->elementsCount('css', $element, intval($num));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -438,7 +438,7 @@ trait MinkDictionary
|
|||||||
*/
|
*/
|
||||||
public function assertNumElements($num, $element)
|
public function assertNumElements($num, $element)
|
||||||
{
|
{
|
||||||
$this->assertSession()->elementsCount('css', $element);
|
$this->assertSession()->elementsCount('css', $element, intval($num));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user