Bug 23807: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 14 Oct 2019 11:32:58 +0000 (08:32 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 17 Oct 2019 14:06:23 +0000 (15:06 +0100)
commitf5a3e4cbc9fdde4b3b542f541d6362bd878bc733
tree8864defbec8c286782d897d46477a7429688ca86
parent342824ddf1648160cefa9a814b5894abf66c321f
Bug 23807: Unit tests

This patch introduces tests for the Koha::Item->as_marc_field method. It
tries to cover all the use cases.

To test:
1. Apply this patchset
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Item.t
=> SUCCESS; Tests pass!
3. Sign off :-D

Signed-off-by: Jan Kolator <kolatorj@email.cz>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/Item.t