Skip to content

Add test for behaviour when upgrading old cached database. #1862

Open
@terriko

Description

@terriko

@rhythmrx9 has made some database changes to support multiple data sources. He's got some code for upgrading in the PR above which I think will cover what we need for now.

We should probably have a test for behaviour upon upgrade (even if it's just a "nothing errors out if you don't have a 'source' column or a 'severity' one" kind of test). it's going to be a bit of a pain to write because you'll have to do something fancy with mock or copy an old db into the .cache directory (which can't be done while tests are running in parallel).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions