Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Quentin CHEVILLON
opacce
Commits
93a4932e
Commit
93a4932e
authored
Jul 19, 2021
by
Henri-Damien LAURENT
Browse files
Merge branch 'hotline'
parents
ed944082
3bfd006e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
VERSIONS_HOTLINE/128644
VERSIONS_HOTLINE/128644
+1
-0
cosmogramme/sql/patch/patch_412.php
cosmogramme/sql/patch/patch_412.php
+7
-0
tests/db/UpgradeDBTest.php
tests/db/UpgradeDBTest.php
+17
-0
No files found.
VERSIONS_HOTLINE/128644
0 → 100644
View file @
93a4932e
- ticket #128644 : Codification Genre : Augmenter la taille du libellé
\ No newline at end of file
cosmogramme/sql/patch/patch_412.php
0 → 100644
View file @
93a4932e
<?php
$adapter
=
Zend_Db_Table
::
getDefaultAdapter
();
try
{
$adapter
->
query
(
"alter table `codif_genre` modify `libelle` varchar(255)"
);
}
catch
(
Exception
$e
)
{
}
tests/db/UpgradeDBTest.php
View file @
93a4932e
...
...
@@ -3896,3 +3896,20 @@ class UpgradeDB_411_Test extends UpgradeDBTestCase {
$this
->
assertFieldType
(
'album_usage_report'
,
$field
,
$type
);
}
}
/* hotline: #128644 */
class
UpgradeDB_412_Test
extends
UpgradeDBTestCase
{
public
function
prepare
()
{
$this
->
silentQuery
(
'ALTER TABLE `codif_genre` MODIFY `libelle` varchar(50)'
);
}
/** @test */
public
function
tableCodifGenreShouldHaveColumnLibelleWithTypeVarchar255
()
{
$this
->
assertFieldType
(
'codif_genre'
,
'libelle'
,
'varchar(255)'
);
}
}
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