From fcceaa630d8f21ce13f55bd8c02b3453b35dbc60 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Thu, 26 Jun 2014 20:17:24 +0200 Subject: [PATCH] Deleted test images after tests --- core/lib/Thelia/Tests/Action/LangTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/lib/Thelia/Tests/Action/LangTest.php b/core/lib/Thelia/Tests/Action/LangTest.php index e4fc50e71..a4cea6212 100644 --- a/core/lib/Thelia/Tests/Action/LangTest.php +++ b/core/lib/Thelia/Tests/Action/LangTest.php @@ -172,4 +172,11 @@ class LangTest extends \PHPUnit_Framework_TestCase ->update(array('ByDefault' => true)); } + protected function tearDown() + { + @unlink(THELIA_TEMPLATE_DIR . "/backOffice/default/assets/img/flags/TEST.png"); + @unlink(THELIA_TEMPLATE_DIR . "/backOffice/default/assets/img/flags/TES.png"); + } + + }