Browse files

- Leftover from [585].

  • Loading branch information...
1 parent 9d39d84 commit f8fb2dead62f6ead50faf3c0b9fd7f9555a0d468 @sebastianbergmann committed Mar 26, 2007
Showing with 5 additions and 4 deletions.
  1. +5 −4 PHPUnit/Extensions/SeleniumTestCase.php
View
9 PHPUnit/Extensions/SeleniumTestCase.php
@@ -45,6 +45,7 @@
*/
require_once 'PHPUnit/Framework.php';
+require_once 'PHPUnit/Util/Log/Database.php';
require_once 'PHPUnit/Util/Filter.php';
PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
@@ -154,11 +155,11 @@ public function start()
);
if ($this->runId === NULL) {
- $pdoListener = PHPUnit_Util_Log_PDO::getInstance();
+ $dbListener = PHPUnit_Util_Log_Database::getInstance();
- if ($pdoListener !== FALSE) {
- $this->runId = $pdoListener->getRunId();
- $this->testId = $pdoListener->getCurrentTestId();
+ if ($dbListener !== FALSE) {
+ $this->runId = $dbListener->getRunId();
+ $this->testId = $dbListener->getCurrentTestId();
} else {
$this->runId = FALSE;
$this->testId = FALSE;

0 comments on commit f8fb2de

Please sign in to comment.