Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es)
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Nov 2018 18:44:04 +0000 (15:44 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Mar 2019 12:27:44 +0000 (12:27 +0000)
commit6c86de628d5873b88a7d6d2d676ecd7b98345aa7
tree146b6c0dbf58e95f07e27de02592a5c0fff729d5
parent1464328718619a673f233406fdb238f0391b0785
Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es)

In order to avoid writing the tests using plain DBIC which would later
need to be replaced by a Koha::Object-based counterpart, I introduce
this stub classes.

Stub tests are added as well.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Tags.t \
          t/db_dependent/Koha/Tags/Approvals.t \
          t/db_dependent/Koha/Tags/Indexes.t
=> SUCCESS: Tests pass
- Sign off :-D

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Tag.pm [new file with mode: 0644]
Koha/Tags.pm [new file with mode: 0644]
Koha/Tags/Approval.pm [new file with mode: 0644]
Koha/Tags/Approvals.pm [new file with mode: 0644]
Koha/Tags/Index.pm [new file with mode: 0644]
Koha/Tags/Indexes.pm [new file with mode: 0644]
t/db_dependent/Koha/Tags.t [new file with mode: 0644]
t/db_dependent/Koha/Tags/Approvals.t [new file with mode: 0644]
t/db_dependent/Koha/Tags/Indexes.t [new file with mode: 0644]