Skip to content

Fix CsvSystemParticipantSourceTest #958

Closed
@sebastian-peter

Description

@sebastian-peter

CsvSystemParticipantSourceTest is broken because the tests do not fail for neither Try.Success or Try.Failure. So, if all parsing fails for whatever reason, the tests do not fail.
What could solve this is another parameter for each test shouldSucceed, so that we can match against expected successes and failures.

Also, the boolean operations within if/else don't even lead to failures, even if they result to false.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtestRelated to tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions