Skip to content

Fix tests incorrectly using kubeconfig instead of mocking#233

Merged
ryannedolan merged 4 commits into
mainfrom
jogrogan/fixTestsUsingKubeconfig
Jun 15, 2026
Merged

Fix tests incorrectly using kubeconfig instead of mocking#233
ryannedolan merged 4 commits into
mainfrom
jogrogan/fixTestsUsingKubeconfig

Conversation

@jogrogan

Copy link
Copy Markdown
Collaborator

A few tests weren't mocking the K8sContext properly, this meant locally it was trying to use the real kubeconfig and connect to real clusters (requiring things like auth). This wasn't a problem in PR since kubeconfig doesn't exist.

  • Also removed some property mocks that weren't doing anything.

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

Code Coverage

Overall Project 84.4% 🟢

There is no coverage information present for the Files changed

@ryannedolan ryannedolan enabled auto-merge (squash) June 15, 2026 21:27
@ryannedolan ryannedolan merged commit 66b617b into main Jun 15, 2026
1 check passed
@ryannedolan ryannedolan deleted the jogrogan/fixTestsUsingKubeconfig branch June 15, 2026 21:45
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