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

cli/config/credentials: add test for save being idempotent #5570

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

thaJeztah
Copy link
Member

cil/config/credentials: remove newStore() test-utility

This function was names slightly confusing, as it returns a fakeStore,
and it didn't do any constructing, so didn't provide value above just
constructing the type.

I'm planning to add more functionality to the fakeStore, but don't want
to maintain a full-fledged constructor for all of that, so let's remove
this utility.

cli/config/credentials: add test for save being idempotent

Test case for d3f6867

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

This function was names slightly confusing, as it returns a fakeStore,
and it didn't do any constructing, so didn't provide value above just
constructing the type.

I'm planning to add more functionality to the fakeStore, but don't want
to maintain a full-fledged constructor for all of that, so let's remove
this utility.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.59%. Comparing base (0ab0eca) to head (3c78069).
Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5570      +/-   ##
==========================================
+ Coverage   59.56%   59.59%   +0.02%     
==========================================
  Files         345      345              
  Lines       29106    29103       -3     
==========================================
+ Hits        17338    17343       +5     
+ Misses      10796    10790       -6     
+ Partials      972      970       -2     

@thaJeztah thaJeztah force-pushed the credentials_coverage branch from 47a5066 to 3c78069 Compare October 22, 2024 10:23
@thaJeztah thaJeztah merged commit 61baf2a into docker:master Oct 22, 2024
89 checks passed
@thaJeztah thaJeztah deleted the credentials_coverage branch October 22, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants