From 1c0905981839abee41618f5f98ec9c1c868a6321 Mon Sep 17 00:00:00 2001
From: gloas <gloas@afi-sa.fr>
Date: Thu, 31 Jan 2019 14:17:15 +0100
Subject: [PATCH] dev #86010 fix rt comments

---
 VERSIONS_WIP/86010                            |  2 +-
 cosmogramme/sql/patch/patch_365.php           |  2 +-
 .../{BokehHeight.php => BokehEight.php}       |  2 +-
 tests/db/UpgradeDBTest.php                    |  2 +-
 ...BokehHeightTest.php => BokehEightTest.php} | 24 +++++++++----------
 5 files changed, 16 insertions(+), 16 deletions(-)
 rename library/Class/Migration/{BokehHeight.php => BokehEight.php} (98%)
 rename tests/library/Class/Migration/{BokehHeightTest.php => BokehEightTest.php} (89%)

diff --git a/VERSIONS_WIP/86010 b/VERSIONS_WIP/86010
index f392296ab11..2989d7b513d 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 0c997a6db96..2fe0a194df2 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 c12e7e44aad..c49a43665d4 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 5a527a9aedc..e024a9c2a55 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 176e94b022c..8871cc1f052 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());
   }
 }
-- 
GitLab