Bug 20144: [sql_modes] Set auth_header.marcxml to an empty string in tests
Fix for: Field 'marcxml' doesn't have a default value Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
a2292e83f1
commit
db181fd8e1
|
|
@ -283,8 +283,8 @@ sub construct_objects_needed {
|
|||
# ---------- Add 2 auth_header
|
||||
$query = '
|
||||
INSERT INTO auth_header
|
||||
(authtypecode)
|
||||
VALUES (?)';
|
||||
(authtypecode, marcxml)
|
||||
VALUES (?, "")';
|
||||
$insert_sth = $dbh->prepare($query);
|
||||
$insert_sth->execute('authtypecode1');
|
||||
my $authid1 = $dbh->last_insert_id( undef, undef, 'auth_header', undef );
|
||||
|
|
|
|||
Loading…
Reference in New Issue