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

chore: fix invalid test #9000

Merged
merged 1 commit into from
Sep 22, 2024
Merged

chore: fix invalid test #9000

merged 1 commit into from
Sep 22, 2024

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Sep 20, 2024

What does this PR do?

createKey is not a property, it is called operationKey then tests are failing when using the correct values

also, as the store is not reset across the tests, there were some dependencies between the order of the tests

fix that also by initializing the getConfigurationValue mock

Screenshot / video of UI

What issues does this PR fix or reference?

related to #8814

How to test this PR?

  • Tests are covering the bug fix or the new feature

createKey is not a property, it is called operationKey
then tests are failing when using the correct values

also, as the store is not reset across the tests, there were
some dependencies between the order of the tests

fix that by initializing the getConfigurationValue mock

related to podman-desktop#8814

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@benoitf benoitf requested a review from a team as a code owner September 20, 2024 14:51
@benoitf benoitf requested review from cdrage, deboer-tim and gastoner and removed request for a team September 20, 2024 14:51
@benoitf benoitf merged commit 7537d13 into podman-desktop:main Sep 22, 2024
15 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.13.0 milestone Sep 22, 2024
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.

4 participants