Skip to content

Create error tests for functions that use storage.Client #142

@calvinmclean

Description

@calvinmclean

I realized that I can force storage client errors in tests by using a &storage.Client{} without the initializer. I just need to update functions to check that c.db != nil and return error instead of panic.

Then, I can go and re-add tests that get coverage on storage client errors at least in the cases where there is not multiple storage client calls in a row.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions