Bug 20144: [sql_modes] Set default value for biblio.datecreated in tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Feb 2018 13:47:09 +0000 (10:47 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Feb 2018 16:58:56 +0000 (13:58 -0300)
commita2292e83f13f499472e251995596ff04c263339d
tree835137f5288683e790ca6923b5b27c78c9250426
parent23018e15127c163ffb1559c3627cc261e846df07
Bug 20144: [sql_modes] Set default value for biblio.datecreated in tests

Should call Koha::Biblio->new instead

Fix for:
Field 'datecreated' doesn't have a default value

t/db_dependent/UsageStats.t

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>
t/db_dependent/UsageStats.t