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

fix: Improve test coverage of db package #375

Conversation

tvarney13
Copy link
Member

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Provide links to any issues in this repository or elsewhere relating to this pull request.

Describe the solution you've provided

Added test coverage to DB package and renamed some things to be more clear on what they're actually doing.

Describe alternatives you've considered

Provide a clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context about the pull request here.

@tvarney13 tvarney13 self-assigned this Jul 10, 2024
Comment on lines +18 to +19
DeactivateOverride(ctx context.Context, projectKey, flagKey string) error
GetDevProjectKeys(ctx context.Context) ([]string, error)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These functions weren't really conveying what they were doing. I discovered during testing that the Delete wasn't deleting

@tvarney13 tvarney13 changed the title Improve test coverage of db package fix: Improve test coverage of db package Jul 10, 2024
@tvarney13 tvarney13 merged commit 0094020 into moonshot-ld-dev-server Jul 10, 2024
1 of 2 checks passed
@tvarney13 tvarney13 deleted the tomvarney/sc-248912/improve-test-coverage-of-db-package branch July 10, 2024 17:04
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