[Koha-bugs] [Bug 34489] Koha/Patrons.t: Subtests get_age and is_valid_age do not pass in another timezone

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 9 15:07:10 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34489

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This might be in the same category:

t/db_dependent/api/v1/patrons.t
            not ok 6 - Filtering by date-time works
            #   Failed test 'Filtering by date-time works'
            #   at t/db_dependent/api/v1/patrons.t line 123.
            #          got: undef
            #     expected: '2253'

my $last_seen_rfc3339 = $last_seen . "z";
$t->get_ok("//$userid:$password@/api/v1/patrons?last_seen=" .
$last_seen_rfc3339 . "&cardnumber=" . $patron->cardnumber)
>status_is(200)
>json_is( '/0/patron_id' => $patron->id, 'Filtering by date-time works' );

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list