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

[Unit test] 'IpaPACType' component #644

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

carma12
Copy link
Collaborator

@carma12 carma12 commented Feb 19, 2025

The IpaPACType component must have a test to check its functionality. This has been created to check the following cases:

  • It should render the component
  • It should call updateIpaObject when another radio button is clicked
  • It should select the checkbox when clicked
  • It should not select any checkbox when first checkbox is marked

In order to have a better organization of the components
and its tests, those should be under a folder with the
same name as the component itsef. Also, some affected
components imports must be corrected to the new path.

Signed-off-by: Carla Martinez <[email protected]>
The `IpaPACType` component must have a test
to check its functionality.

Signed-off-by: Carla Martinez <[email protected]>
@carma12 carma12 added needs-review This PR is waiting on a review tests PR related to testing labels Feb 19, 2025
@mreynolds389 mreynolds389 added the ack Pull Request approved, it can be merged label Feb 20, 2025
@carma12 carma12 merged commit 1b6f0cf into freeipa:main Feb 20, 2025
4 checks passed
@carma12 carma12 removed the needs-review This PR is waiting on a review label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, it can be merged tests PR related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants