• Bobby Rullo's avatar
    integration, *: Improve tests for admin api · 399b15ab
    Bobby Rullo authored
    * TestCreateClient was missing test coverage on error cases
    * Fixed bug where 500s were being reported for bad requests
    * changed function signature of NewAdminAPI back to old way of passing
      in lots of repos: passing in a DbMap made it difficult to test
    * added swappable ID and Secret generators when creating Clients
    399b15ab
client.go 6.72 KB