Skip to content

API testing

Christopher Schinnerl requested to merge mnsl:test-api into master

Created by: mnsl

  • Fixes typos & a faulty error check in TestRenterConflicts
  • Implements TestRenterHostsAllHandler to test renterHostsAllHandler, which handles the call to hostdb/all.
  • Introduces type AllHosts to make testing renterHostsAllHandler more intuitive (see commit 9710357 for the code without the AllHosts type)

Upcoming: test that renterHostsActiveHandler and renterHostsAllHandler work correctly for a network with multiple hosts.

Merge request reports