Bug 20287: Use more simple object for Object.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 25 Jun 2018 15:53:19 +0000 (12:53 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 15:49:56 +0000 (15:49 +0000)
commit51728ba084401b5f3df7c26453a9d762e178368e
treec44c0dbc0a1b0f6ad88b8327e1eb1bf77425b83f
parentd2fdf1a69540154db60106db7cd1ca9ec63b7154
Bug 20287: Use more simple object for Object.t

We initially use Koha::Patron to test Object.t, but now it overwrites
->store and so it is better to use a more simple object.
ApiKey has foreign keys and unique key.
We lost one test: there is only one unique key whereas we had 2 on
borrowers (I did not find a better option)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Koha/Object.t