From d304284e36aaadbd79231ff27d05ed12806cd158 Mon Sep 17 00:00:00 2001 From: odain Date: Wed, 14 Oct 2020 13:13:25 +0200 Subject: [PATCH] :green_heart: cleanup --- test/application/ThemeHandlerTest.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/test/application/ThemeHandlerTest.php b/test/application/ThemeHandlerTest.php index 3280d015f..98f28cdd9 100644 --- a/test/application/ThemeHandlerTest.php +++ b/test/application/ThemeHandlerTest.php @@ -621,29 +621,4 @@ SCSS; [ '/var/www/html/iTop/css/ui-lightness/images/ui-icons_222222_256x240.png', '/var/www/html/iTop/env-production//branding/themes/light-grey//../../../../css/ui-lightness/images/ui-icons_222222_256x240.png' ] ]; } - - /** - * @param $sConfig - * @dataProvider configProvider - */ - public function testConfig($sExcludeGroupConfig, $sExpectedCmd) { - $sGroupCommand = ""; - if (! empty($sExcludeGroupConfig)) { - foreach (explode(",", $sExcludeGroupConfig) as $sExcludedGroup){ - $sGroupCommand .= "--exclude-group " . trim($sExcludedGroup) . " "; - } - } - - $this->assertEquals($sExpectedCmd, trim($sGroupCommand)); - } - - public function configProvider(){ - return [ - [ "", ""], - [ "skipPostBuild", "--exclude-group skipPostBuild"], - [ "skipPostBuild,beforeSetup", "--exclude-group skipPostBuild --exclude-group beforeSetup"], - ]; - } - - } \ No newline at end of file