From 14da7484b03185c1d0dd48cef3d9ab7ea1d3f04f Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Tue, 9 Jul 2013 18:33:29 +0200 Subject: [PATCH] Remove deprecated patch --- lib/classes/patch/3804.php | 61 -------------------------------- tests/classes/patch/3804Test.php | 25 ------------- 2 files changed, 86 deletions(-) delete mode 100644 lib/classes/patch/3804.php delete mode 100644 tests/classes/patch/3804Test.php diff --git a/lib/classes/patch/3804.php b/lib/classes/patch/3804.php deleted file mode 100644 index 8e4301715e..0000000000 --- a/lib/classes/patch/3804.php +++ /dev/null @@ -1,61 +0,0 @@ -release; - } - - public function require_all_upgrades() - { - return false; - } - - /** - * - * @return Array - */ - public function concern() - { - return $this->concern; - } - - /** - * @param base $appbox - * @param Application $app - */ - public function apply(base $appbox, Application $app) - { - $app['phraseanet.configuration']->setDefault('main', 'task-manager'); - - return true; - } -} diff --git a/tests/classes/patch/3804Test.php b/tests/classes/patch/3804Test.php deleted file mode 100644 index 0b9684efbf..0000000000 --- a/tests/classes/patch/3804Test.php +++ /dev/null @@ -1,25 +0,0 @@ -getMockBuilder('appbox') - ->disableOriginalConstructor() - ->getMock(); - - $app['phraseanet.configuration'] = $this->getMock('Alchemy\Phrasea\Core\Configuration\ConfigurationInterface'); - $app['phraseanet.configuration']->expects($this->once()) - ->method('setDefault') - ->with('main', 'task-manager'); - - $this->assertTrue($patch->apply($appbox, $app)); - } -}