]> git.koha-community.org Git - koha.git/commit
Bug 19841: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 20 Dec 2017 19:19:07 +0000 (16:19 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Dec 2017 15:52:34 +0000 (12:52 -0300)
commitbfe025688355eb714c24bd608726bc61f3224cbd
treec81f36e12b3ab75571bcdaa2a7895415dbb43486
parent759a86efd10f75cb4b038046957e28f2906b8dd5
Bug 19841: Unit tests

This patch introduces unit tests for the new behaviour of AddMember
(raising an exception if the passed categorycode is not valid.

 To test:
 - Apply this patch
 - Run:
   $ kshell
  k$ prove t/db_dependent/Members.t
=> FAIL: It should fail because the feature is still not implemented.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Members.t