From 0278ce251ebe9e0edff5f6a0db75838c269371c6 Mon Sep 17 00:00:00 2001 From: Sergi de Pablos Date: Tue, 5 Jun 2012 12:06:07 +0200 Subject: [PATCH] Reverting to way the backup file is defined --- Test/WebTestCase.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Test/WebTestCase.php b/Test/WebTestCase.php index 64d2da6d..0eef42c5 100755 --- a/Test/WebTestCase.php +++ b/Test/WebTestCase.php @@ -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 * @@ -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()