]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Mar 2019 09:57:07 +0000 (09:57 +0000)
commit2ab1ec967bea11c39795d0b77d40845d3f6fb0a5
tree84f0bd0d0922dcc3bcf383d2bf2fdeff537ce7ea
parent53cf1c80f20c301750d515f3f6bd9b02173d6e6d
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>
(cherry picked from commit 6c86de628d5873b88a7d6d2d676ecd7b98345aa7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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]