Skip to content

Commit

Permalink
Reverting to way the backup file is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
sdepablos committed Jun 5, 2012
1 parent 795409e commit 0278ce2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Test/WebTestCase.php
Expand Up @@ -49,14 +49,6 @@ abstract class WebTestCase extends BaseWebTestCase
protected static $backup; // filename of the backup DB
private $firewallLogins = array();

/**
* Abstract method that should be defined in classes inheriting
* to set the static $backup property (backup filename). This DB is
* stored after the fixtures are loaded, so we don't need to reload
* the fixtures after each test
*/
static protected abstract function setBackup();

/**
* Recover the backup filename
*
Expand Down Expand Up @@ -426,7 +418,7 @@ public function loginAs(UserInterface $user, $firewallName)
}

/**
* Tear down method. Delete the backup db file to avoid reusing
* Set up before class method. Delete the backup db file to avoid reusing
* and old backup when executing the tests again
*/
public static function setUpBeforeClass()
Expand Down

0 comments on commit 0278ce2

Please sign in to comment.