]> git.koha-community.org Git - koha.git/commit
Bug 26636: Regression tests for undef case
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Feb 2021 19:28:07 +0000 (16:28 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Mar 2021 09:31:47 +0000 (10:31 +0100)
commit653fe3962597c7cf0de1a9dc2e2eb4a814a1d43e
tree1f7b7b5678b4d686312fdd67d8cd87efc5466608
parent22940955745fc91d978a28865e62da04b08be432
Bug 26636: Regression tests for undef case

This patch adds tests for the case in which there's no object identified
by the supplied $id. It should return undef.

Sponsored-by: Virginia Polytechnic Institute and State University
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/REST/Plugin/Objects.t