Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
opacce
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
afi
opacce
Commits
1c090598
Commit
1c090598
authored
Jan 31, 2019
by
Ghislain Loas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev #86010 fix rt comments
parent
6248ad81
Pipeline
#6216
failed with stage
in 28 minutes and 50 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
86010
VERSIONS_WIP/86010
+1
-1
patch_365.php
cosmogramme/sql/patch/patch_365.php
+1
-1
BokehEight.php
library/Class/Migration/BokehEight.php
+1
-1
UpgradeDBTest.php
tests/db/UpgradeDBTest.php
+1
-1
BokehEightTest.php
tests/library/Class/Migration/BokehEightTest.php
+12
-12
No files found.
VERSIONS_WIP/86010
View file @
1c090598
- 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
cosmogramme/sql/patch/patch_365.php
View file @
1c090598
<?php
<?php
(
new
Class_Migration_BokehHeight
)
->
run
();
(
new
Class_Migration_BokehEight
)
->
run
();
\ No newline at end of file
\ No newline at end of file
library/Class/Migration/Bokeh
He
ight.php
→
library/Class/Migration/Bokeh
E
ight.php
View file @
1c090598
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*/
*/
class
Class_Migration_Bokeh
He
ight
{
class
Class_Migration_Bokeh
E
ight
{
use
Trait_Translator
;
use
Trait_Translator
;
...
...
tests/db/UpgradeDBTest.php
View file @
1c090598
...
@@ -2463,5 +2463,5 @@ class UpgradeDB_365_Test extends UpgradeDBTestCase {
...
@@ -2463,5 +2463,5 @@ class UpgradeDB_365_Test extends UpgradeDBTestCase {
public
function
prepare
()
{}
public
function
prepare
()
{}
/** @test */
/** @test */
public
function
placeholderForBokeh
He
ightMigration
()
{}
public
function
placeholderForBokeh
E
ightMigration
()
{}
}
}
tests/library/Class/Migration/Bokeh
He
ightTest.php
→
tests/library/Class/Migration/Bokeh
E
ightTest.php
View file @
1c090598
...
@@ -20,12 +20,12 @@
...
@@ -20,12 +20,12 @@
*/
*/
class
Class_Migration_Bokeh
He
ightTest
extends
ModelTestCase
{
class
Class_Migration_Bokeh
E
ightTest
extends
ModelTestCase
{
/** @test */
/** @test */
public
function
bibnumShouldBecomeEnabled
()
{
public
function
bibnumShouldBecomeEnabled
()
{
Class_AdminVar
::
set
(
'BIBNUM'
,
0
);
Class_AdminVar
::
set
(
'BIBNUM'
,
0
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isBibNumEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isBibNumEnabled
());
}
}
...
@@ -39,7 +39,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -39,7 +39,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
/** @test */
/** @test */
public
function
opdsShouldBecomeEnabled
()
{
public
function
opdsShouldBecomeEnabled
()
{
Class_AdminVar
::
set
(
'OPDS'
,
0
);
Class_AdminVar
::
set
(
'OPDS'
,
0
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isOpdsEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isOpdsEnabled
());
}
}
...
@@ -53,7 +53,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -53,7 +53,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
/** @test */
/** @test */
public
function
codificationBrowserShouldBecomeEnabled
()
{
public
function
codificationBrowserShouldBecomeEnabled
()
{
Class_AdminVar
::
set
(
'CODIFICATION_BROWSER'
,
0
);
Class_AdminVar
::
set
(
'CODIFICATION_BROWSER'
,
0
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isCodificationBrowserEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isCodificationBrowserEnabled
());
}
}
...
@@ -67,7 +67,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -67,7 +67,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
/** @test */
/** @test */
public
function
inspectorGadgetMarcXMLShouldBecomeEnabled
()
{
public
function
inspectorGadgetMarcXMLShouldBecomeEnabled
()
{
Class_AdminVar
::
set
(
'INSPECTOR_GADGET_MARC_XML'
,
0
);
Class_AdminVar
::
set
(
'INSPECTOR_GADGET_MARC_XML'
,
0
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isInspectorGadgetMarcXmlEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isInspectorGadgetMarcXmlEnabled
());
}
}
...
@@ -81,7 +81,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -81,7 +81,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
/** @test */
/** @test */
public
function
customSearchFormShouldBecomeEnabled
()
{
public
function
customSearchFormShouldBecomeEnabled
()
{
Class_AdminVar
::
set
(
'CUSTOM_SEARCH_FORM'
,
0
);
Class_AdminVar
::
set
(
'CUSTOM_SEARCH_FORM'
,
0
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isCustomSearchFormEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isCustomSearchFormEnabled
());
}
}
...
@@ -95,7 +95,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -95,7 +95,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
/** @test */
/** @test */
public
function
authorPageShouldBecomeEnabled
()
{
public
function
authorPageShouldBecomeEnabled
()
{
Class_AdminVar
::
set
(
'AUTHOR_PAGE'
,
0
);
Class_AdminVar
::
set
(
'AUTHOR_PAGE'
,
0
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isAuthorPageEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isAuthorPageEnabled
());
}
}
...
@@ -113,7 +113,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -113,7 +113,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
[
'id'
=>
4
,
[
'id'
=>
4
,
'sigb'
=>
Class_IntBib
::
SIGB_KOHA
,
'sigb'
=>
Class_IntBib
::
SIGB_KOHA
,
'comm_params'
=>
[
'url_serveur'
=>
'https://service.local'
]]);
'comm_params'
=>
[
'url_serveur'
=>
'https://service.local'
]]);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
}
}
...
@@ -125,7 +125,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -125,7 +125,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
[
'id'
=>
4
,
[
'id'
=>
4
,
'sigb'
=>
Class_IntBib
::
SIGB_NANOOK
,
'sigb'
=>
Class_IntBib
::
SIGB_NANOOK
,
'comm_params'
=>
[
'url_serveur'
=>
'https://service.local'
]]);
'comm_params'
=>
[
'url_serveur'
=>
'https://service.local'
]]);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertTrue
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
$this
->
assertTrue
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
}
}
...
@@ -137,7 +137,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -137,7 +137,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
[
'id'
=>
4
,
[
'id'
=>
4
,
'sigb'
=>
Class_IntBib
::
SIGB_ORPHEE
,
'sigb'
=>
Class_IntBib
::
SIGB_ORPHEE
,
'comm_params'
=>
[
'url_serveur'
=>
'https://service.local'
]]);
'comm_params'
=>
[
'url_serveur'
=>
'https://service.local'
]]);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertFalse
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
$this
->
assertFalse
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
}
}
...
@@ -154,7 +154,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -154,7 +154,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
'sigb'
=>
Class_IntBib
::
SIGB_KOHA
,
'sigb'
=>
Class_IntBib
::
SIGB_KOHA
,
'comm_params'
=>
[
'url_serveur'
=>
'https://service-koha.local'
]]);
'comm_params'
=>
[
'url_serveur'
=>
'https://service-koha.local'
]]);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertFalse
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
$this
->
assertFalse
(
Class_AdminVar
::
isLoginThroughSigbOnlyEnabled
());
}
}
...
@@ -162,7 +162,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
...
@@ -162,7 +162,7 @@ class Class_Migration_BokehHeightTest extends ModelTestCase {
/** @test */
/** @test */
public
function
variableDateMajAlbumsShouldHaveGroup6
()
{
public
function
variableDateMajAlbumsShouldHaveGroup6
()
{
Class_CosmoVar
::
setValueOf
(
'date_maj_albums'
,
''
);
Class_CosmoVar
::
setValueOf
(
'date_maj_albums'
,
''
);
(
new
Class_Migration_Bokeh
He
ight
)
->
run
();
(
new
Class_Migration_Bokeh
E
ight
)
->
run
();
$this
->
assertEquals
(
6
,
Class_CosmoVar
::
find
(
'date_maj_albums'
)
->
getGroupe
());
$this
->
assertEquals
(
6
,
Class_CosmoVar
::
find
(
'date_maj_albums'
)
->
getGroupe
());
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment