]> git.koha-community.org Git - koha.git/commit
Bug 27857: Fix Pseudonymization.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Apr 2021 09:08:01 +0000 (11:08 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Apr 2021 09:08:01 +0000 (11:08 +0200)
commit031dd035ab7c7f8a4b05f5f139942e4dceb7aeb7
treed47aed3b6b4e1328ba0c6d87ae3467143bdaf3fb
parent5f25235b9ea4838cf1a875b10f873dc68c00ba0b
Bug 27857: Fix Pseudonymization.t

t/db_dependent/Koha/Pseudonymization.t .. 2/3
    #   Failed test 'Attribute 1 should be retrieved correctly'
    #   at t/db_dependent/Koha/Pseudonymization.t line 198.
    #     Structures begin differing at:
    #          $got->{borrowernumber} = Does not exist
    #     $expected->{borrowernumber} = '58'

    #   Failed test 'Attribute 2 should be retrieved correctly'
    #   at t/db_dependent/Koha/Pseudonymization.t line 204.
    #     Structures begin differing at:
    #          $got->{borrowernumber} = Does not exist
    #     $expected->{borrowernumber} = '58'
    # Looks like you failed 2 tests of 3.
t/db_dependent/Koha/Pseudonymization.t .. 3/3

Highlighted by
  commit 7b40ee22035210e3fbdfe75785d68ca314285409
  Bug 27857: Make Koha::Patron->extended_attributes validate data

Koha::Patron->add_extended_attributes should not modify the $attribute
hashref parameter we passed.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patron.pm