Skip to content

test host API calls

Christopher Schinnerl requested to merge mnsl:api-host-testing into master

Created by: mnsl

This PR tests that API calls to add, resize and remove host storage folders are handled properly, including various flavors of invalid calls.

Several errors from the storagemanager module are now exported, and I added a couple of exported functions so that the tests could access storagemanager's minimumStorageFolderSizeand maximumStorageFolderSize constants.

I also fixed some typos.

TODO:

  • a couple more tests to cover all error handling by the add/resize storage folder API calls
  • test the API call to delete a specific storage sector

Merge request reports