diff --git a/VERSIONS_WIP/86010 b/VERSIONS_WIP/86010 index f392296ab11eb221e14188ba61cc02f56a47007f..2989d7b513d94b4084b1d7531e8ed057ccfb13b3 100644 --- a/VERSIONS_WIP/86010 +++ b/VERSIONS_WIP/86010 @@ -1,2 +1,2 @@ - - ticket #86010 : Administration : activation des fonctionnalités de la version 8.0 Suricate Semantic. + - ticket #86010 : Administration : activation des fonctionnalités de la version 8.0 . \ No newline at end of file diff --git a/cosmogramme/sql/patch/patch_365.php b/cosmogramme/sql/patch/patch_365.php index 0c997a6db96fcc89d7e50fffc61b84c532581b53..2fe0a194df255756149cd40ddcf4470b28432b1c 100644 --- a/cosmogramme/sql/patch/patch_365.php +++ b/cosmogramme/sql/patch/patch_365.php @@ -1,2 +1,2 @@ <?php -(new Class_Migration_BokehHeight)->run(); \ No newline at end of file +(new Class_Migration_BokehEight)->run(); \ No newline at end of file diff --git a/library/Class/Migration/BokehHeight.php b/library/Class/Migration/BokehEight.php similarity index 98% rename from library/Class/Migration/BokehHeight.php rename to library/Class/Migration/BokehEight.php index c12e7e44aad8b21fd11b723034262032adbbfd4e..c49a43665d4982b8eab091ef6a8545773685e597 100644 --- a/library/Class/Migration/BokehHeight.php +++ b/library/Class/Migration/BokehEight.php @@ -20,7 +20,7 @@ */ -class Class_Migration_BokehHeight { +class Class_Migration_BokehEight { use Trait_Translator; diff --git a/tests/db/UpgradeDBTest.php b/tests/db/UpgradeDBTest.php index 5a527a9aedca8111b2f3ebcbed17c521fa749d90..e024a9c2a55fbeb36b6fb920bcc21033f125b12c 100644 --- a/tests/db/UpgradeDBTest.php +++ b/tests/db/UpgradeDBTest.php @@ -2463,5 +2463,5 @@ class UpgradeDB_365_Test extends UpgradeDBTestCase { public function prepare() {} /** @test */ - public function placeholderForBokehHeightMigration() {} + public function placeholderForBokehEightMigration() {} } diff --git a/tests/library/Class/Migration/BokehHeightTest.php b/tests/library/Class/Migration/BokehEightTest.php similarity index 89% rename from tests/library/Class/Migration/BokehHeightTest.php rename to tests/library/Class/Migration/BokehEightTest.php index 176e94b022c8a1940c97092e8c1be0ca46125932..8871cc1f0522c6220f25a347371dce44dd590bc9 100644 --- a/tests/library/Class/Migration/BokehHeightTest.php +++ b/tests/library/Class/Migration/BokehEightTest.php @@ -20,12 +20,12 @@ */ -class Class_Migration_BokehHeightTest extends ModelTestCase { +class Class_Migration_BokehEightTest extends ModelTestCase { /** @test */ public function bibnumShouldBecomeEnabled() { Class_AdminVar::set('BIBNUM', 0); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isBibNumEnabled()); } @@ -39,7 +39,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { /** @test */ public function opdsShouldBecomeEnabled() { Class_AdminVar::set('OPDS', 0); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isOpdsEnabled()); } @@ -53,7 +53,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { /** @test */ public function codificationBrowserShouldBecomeEnabled() { Class_AdminVar::set('CODIFICATION_BROWSER', 0); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isCodificationBrowserEnabled()); } @@ -67,7 +67,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { /** @test */ public function inspectorGadgetMarcXMLShouldBecomeEnabled() { Class_AdminVar::set('INSPECTOR_GADGET_MARC_XML', 0); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isInspectorGadgetMarcXmlEnabled()); } @@ -81,7 +81,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { /** @test */ public function customSearchFormShouldBecomeEnabled() { Class_AdminVar::set('CUSTOM_SEARCH_FORM', 0); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isCustomSearchFormEnabled()); } @@ -95,7 +95,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { /** @test */ public function authorPageShouldBecomeEnabled() { Class_AdminVar::set('AUTHOR_PAGE', 0); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isAuthorPageEnabled()); } @@ -113,7 +113,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { ['id' => 4, 'sigb' => Class_IntBib::SIGB_KOHA, 'comm_params' => ['url_serveur' => 'https://service.local']]); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isLoginThroughSigbOnlyEnabled()); } @@ -125,7 +125,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { ['id' => 4, 'sigb' => Class_IntBib::SIGB_NANOOK, 'comm_params' => ['url_serveur' => 'https://service.local']]); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertTrue(Class_AdminVar::isLoginThroughSigbOnlyEnabled()); } @@ -137,7 +137,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { ['id' => 4, 'sigb' => Class_IntBib::SIGB_ORPHEE, 'comm_params' => ['url_serveur' => 'https://service.local']]); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertFalse(Class_AdminVar::isLoginThroughSigbOnlyEnabled()); } @@ -154,7 +154,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { 'sigb' => Class_IntBib::SIGB_KOHA, 'comm_params' => ['url_serveur' => 'https://service-koha.local']]); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertFalse(Class_AdminVar::isLoginThroughSigbOnlyEnabled()); } @@ -162,7 +162,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase { /** @test */ public function variableDateMajAlbumsShouldHaveGroup6() { Class_CosmoVar::setValueOf('date_maj_albums', ''); - (new Class_Migration_BokehHeight)->run(); + (new Class_Migration_BokehEight)->run(); $this->assertEquals(6, Class_CosmoVar::find('date_maj_albums')->getGroupe()); } }