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)); - } -}