]> git.koha-community.org Git - koha.git/commit
Bug 20866: (QA follow-up) Use build_object and remove two tests
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 5 Jun 2018 11:45:06 +0000 (13:45 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 8 Jun 2018 10:08:07 +0000 (10:08 +0000)
commit50af8d840f0620196b39e27fbf674bab3ae4463b
treea9b189be0790027cc2e1938f8edf2ff6dff8760e
parent6123e213e6a4c9353175e0cf2e2a638d03c95b1c
Bug 20866: (QA follow-up) Use build_object and remove two tests

The unique constraint on userid is handled in TestBuilder. So let's use it.
The two tests if count==$count do not make much sense anymore when we
call ->count a few lines before. The check with search_limited is enough.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/ArticleRequests.t