Closed dandanlen closed 2 months ago
This refactors the election access mocks and adds some helpers.
This makes it more obvious that, for example, we should not update an election's state before creating it, or that tests should have no control over the election ids.
This refactors the election access mocks and adds some helpers.
This makes it more obvious that, for example, we should not update an election's state before creating it, or that tests should have no control over the election ids.