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 tests for set and unset property #14

Merged

Conversation

osmanhadzic
Copy link
Collaborator

Added tests for the set and unset properties for server-owned interfaces. These properties are relevant for ensuring that the server can correctly manage state and permissions on its own interfaces.

The set and unset properties are only applicable to server-owned interfaces, as they control how the server modifies interface properties. Adding these tests ensures that the functionality behaves as expected, improves code reliability, and helps prevent regressions.

  • Created test cases specifically for server-owned interfaces that check both the set and unset properties.
  • Ensured that these tests validate the correct setting and unsetting of properties based on server ownership.

Add tests for `set` and `unset` property for server server interface.
`Set` and `unset` property make sense only for server-owned interfaces.

Signed-off-by: Osman Hadzic <[email protected]>
@osmanhadzic osmanhadzic self-assigned this Nov 11, 2024
@Annopaolo Annopaolo merged commit 4d5608b into astarte-platform:main Nov 11, 2024
3 checks passed
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.

2 participants