API testing
Created by: mnsl
- Fixes typos & a faulty error check in
TestRenterConflicts
- Implements
TestRenterHostsAllHandler
to testrenterHostsAllHandler
, which handles the call tohostdb/all
. - Introduces type
AllHosts
to make testingrenterHostsAllHandler
more intuitive (see commit 9710357 for the code without theAllHosts
type)
Upcoming: test that renterHostsActiveHandler
and renterHostsAllHandler
work correctly for a network with multiple hosts.