View | Details | Raw Unified | Return to bug 34930
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Object.t (-1 / +7 lines)
Lines 690-695 subtest 'attributes_from_api() tests' => sub { Link Here
690
690
691
        my $patron = Koha::Patron->new();
691
        my $patron = Koha::Patron->new();
692
692
693
        delete $C4::Context::context->{tz};
694
        local %ENV;
695
        $ENV{TZ} = 'Etc/UTC';    # following tests implicitly assume it
696
693
        my $attrs = $patron->attributes_from_api(
697
        my $attrs = $patron->attributes_from_api(
694
            {
698
            {
695
                updated_on     => '2019-12-27T14:53:00Z',
699
                updated_on     => '2019-12-27T14:53:00Z',
Lines 761-766 subtest 'attributes_from_api() tests' => sub { Link Here
761
            'date_of_birth',
765
            'date_of_birth',
762
            'Exception parameter is the API field name, not the DB one'
766
            'Exception parameter is the API field name, not the DB one'
763
        );
767
        );
768
769
        # Remove timezone change
770
        delete $C4::Context::context->{tz};
764
    };
771
    };
765
772
766
    subtest 'booleans handling tests' => sub {
773
    subtest 'booleans handling tests' => sub {
767
- 

Return to bug 34930