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

Add tests for Admin_Settings::update_settings() #235

Merged

Conversation

costdev
Copy link
Contributor

@costdev costdev commented Dec 1, 2024

Pull Request

What changed?

  • Added tests for Admin_Settings::update_settings()
  • Introduced AdminSettings_UnitTestCase::$options_page
  • Added a check so that exit is not called during test runs

Why did it change?

To improve PHPUnit test coverage.

Did you fix any specific issues?

See #216

CERTIFICATION

By opening this pull request, I do agree to abide by the Code of Conduct and be bound by the terms of the Contribution Guidelines in effect on the date and time of my contribution as proven by the revision information in GitHub.

@costdev costdev force-pushed the tests_admin_settings_update_settings branch from bf326f1 to 246422c Compare December 1, 2024 16:26
@costdev costdev marked this pull request as ready for review December 1, 2024 16:27
@costdev costdev mentioned this pull request Dec 1, 2024
44 tasks
@costdev costdev merged commit 11f753d into aspirepress:main Dec 4, 2024
5 checks passed
@costdev costdev deleted the tests_admin_settings_update_settings branch December 19, 2024 23:38
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.

1 participant