From 575bf525b5984b2c19e8bedc6a1a2d7a2561f78f Mon Sep 17 00:00:00 2001 From: nmaillat Date: Wed, 17 Jan 2018 17:39:50 +0100 Subject: [PATCH] PHRAS-1798 fix test ter --- .../Fixtures/PluginDirInstalled/test-plugin/manifest.json | 2 +- tests/Alchemy/Tests/Phrasea/Setup/ConfigurationTesterTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Alchemy/Tests/Phrasea/Plugin/Fixtures/PluginDirInstalled/test-plugin/manifest.json b/tests/Alchemy/Tests/Phrasea/Plugin/Fixtures/PluginDirInstalled/test-plugin/manifest.json index 0ae2c75993..72878ee922 100644 --- a/tests/Alchemy/Tests/Phrasea/Plugin/Fixtures/PluginDirInstalled/test-plugin/manifest.json +++ b/tests/Alchemy/Tests/Phrasea/Plugin/Fixtures/PluginDirInstalled/test-plugin/manifest.json @@ -13,7 +13,7 @@ "license" : "MIT", "version" : "0.1", "minimum-phraseanet-version": "3.8", - "maximum-phraseanet-version": "4.1", + "maximum-phraseanet-version": "4.2", "twig-paths": ["views", "twig-views"], "services" : [ { diff --git a/tests/Alchemy/Tests/Phrasea/Setup/ConfigurationTesterTest.php b/tests/Alchemy/Tests/Phrasea/Setup/ConfigurationTesterTest.php index 09f44d7e18..025c77f1fd 100644 --- a/tests/Alchemy/Tests/Phrasea/Setup/ConfigurationTesterTest.php +++ b/tests/Alchemy/Tests/Phrasea/Setup/ConfigurationTesterTest.php @@ -97,7 +97,7 @@ class ConfigurationTesterTest extends AbstractSetupTester // Must return version + 1 $app['phraseanet.version']->expects($this->any()) ->method('getNumber') - ->will($this->returnValue('4.1')); + ->will($this->returnValue('4.2')); $tester = $this->getTester($app); @@ -138,7 +138,7 @@ class ConfigurationTesterTest extends AbstractSetupTester */ $app['phraseanet.version']->expects($this->any()) ->method('getNumber') - ->will($this->returnValue('4.1')); + ->will($this->returnValue('4.2')); $tester = $this->getTester($app);