https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21618
--- Comment #1 from Jonathan Druart <[email protected]> --- I have isolated the issue with this code. I do not understand why the default value (CURRENT_TIMESTAMP) is not picked. #!/usr/bin/perl use Modern::Perl; use Test::MockModule; use Koha::Patrons; use Koha::Patron::Categories; use Test::DBIx::Class { schema_class => 'Koha::Schema', connect_info => [ 'dbi:SQLite:dbname=:memory:', '', '' ] }; my $database = Test::MockModule->new('Koha::Database'); $database->mock( _new_schema => sub { return Schema(); } ); Koha::Patron::Category->new({categorycode => 'S'})->store; my $borrower = { categorycode => 'S', userid => 'test4321', }; my $patron = Koha::Patron->new( $borrower )->store; -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
