Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test that cover the integration with the Kanto's cloud connectors #35

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

dimitar-dimitrow
Copy link
Contributor

[#34] Add unit test that cover the integration with the Kanto's cloud connectors

  • Added unit tests in the things and mqtt packages
  • Fixed refresh success reply
  • Fixed MQTT timeout configurations to be correctly handed to the Ditto Client
  • Fixed variable naming uaFeature -> umFeature
  • Fixed file naming mqtt_toker_mock.go -> mqtt_token_mock.go

Signed-off-by: Dimitar Dimitrov dimitar.dimitrov3@bosch.io

…Kanto's cloud connectors

 - Added unit tests in the things and mqtt packages
 - Fixed refresh success reply
 - Fixed MQTT timeout configurations to be correctly handed to the Ditto Client
 - Fixed variable naming uaFeature -> umFeature
 - Fixed file naming mqtt_toker_mock.go -> mqtt_token_mock.go

Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov3@bosch.io>
mqtt/update_agent_things_client_test.go Outdated Show resolved Hide resolved
…Kanto's cloud connectors

 - move CreateTestConfig in the orchistration package as it is used only there
 - add AssertWithTimeout
 - use AssertWithTimeout and constants from test package in the new unit test

Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov3@bosch.io>
@hristobojilov hristobojilov merged commit 5b9e85e into eclipse-kanto:main Aug 23, 2023
1 check passed
@hristobojilov hristobojilov deleted the add-um-feature-tests branch August 23, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unit test that cover the integration with the Kanto's cloud connectors
3 participants