]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Jun 2018 08:56:30 +0000 (09:56 +0100)
commitcca7c7481600558db5bfd5643c2a76fecb999c46
tree43a43b444f05c7ce38fa0d58bc2afba1b11d1b64
parente5f052ac1c81899db10c465c585b890949983828
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/ArticleRequests.t