|
|
|
|
@ -135,7 +135,7 @@ class ActorContext extends RawMinkContext {
|
|
|
|
|
$this->actors = array();
|
|
|
|
|
$this->sharedNotebook = array();
|
|
|
|
|
|
|
|
|
|
$this->actors["default"] = new Actor($this->getSession(), $this->getMinkParameter("base_url"), $this->sharedNotebook);
|
|
|
|
|
$this->actors["default"] = new Actor("default", $this->getSession(), $this->getMinkParameter("base_url"), $this->sharedNotebook);
|
|
|
|
|
$this->actors["default"]->setFindTimeoutMultiplier($this->actorTimeoutMultiplier);
|
|
|
|
|
|
|
|
|
|
$this->currentActor = $this->actors["default"];
|
|
|
|
|
@ -159,7 +159,7 @@ class ActorContext extends RawMinkContext {
|
|
|
|
|
*/
|
|
|
|
|
public function iActAs($actorName) {
|
|
|
|
|
if (!array_key_exists($actorName, $this->actors)) {
|
|
|
|
|
$this->actors[$actorName] = new Actor($this->getSession($actorName), $this->getMinkParameter("base_url"), $this->sharedNotebook);
|
|
|
|
|
$this->actors[$actorName] = new Actor($actorName, $this->getSession($actorName), $this->getMinkParameter("base_url"), $this->sharedNotebook);
|
|
|
|
|
$this->actors[$actorName]->setFindTimeoutMultiplier($this->actorTimeoutMultiplier);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|