Skip to content

OCPP2.X: Inconsistent checks for authorization unit tests #1042

@mlitre

Description

@mlitre

OCPP Version

OCPP2.1, OCPP2.0.1

Describe the bug

The tests do not consistently set the online/offline status, as well as other configuration variables. This causes some tests to pass when they shouldn't due to unexpected code paths for the tested use case.

It would be nice to clean up the tests and properly set the online/offline status, as well as the configuration variables for each test case. This entails any possible fixes to the tests and/or code due to the updated tests.

To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions