Permalink
Browse files

Update src/Sauce/Sausage/WebDriverTestCase.php

  • Loading branch information...
1 parent fe76619 commit 5611a607cb6f9850cd7b3ebef5951f6e9e4d93f2 @bayandin bayandin committed Jan 6, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Sauce/Sausage/WebDriverTestCase.php
@@ -135,10 +135,10 @@ public function sendKeys(\PHPUnit_Extensions_Selenium2TestCase_Element $element,
public function prepareSession()
{
- parent::prepareSession();
+ $session = parent::prepareSession();
if ($this->getBuild())
SauceTestCommon::ReportBuild($this->getSessionId(), $this->getBuild());
- return parent::prepareSession();
+ return $session;
}
public function tearDown()

0 comments on commit 5611a60

Please sign in to comment.