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

Tests: make dataproviders static #336

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Nov 20, 2023

Context

Summary

This PR can be summarized in the following changelog entry:

  • Tests: use static dataproviders

Relevant technical choices:

As of PHPUnit 10, data providers are (again) expected to be static methods.

This updates the test suite to respect that.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • N/A If the builds pass, we're good.

As of PHPUnit 10, data providers are (again) expected to be `static` methods.

This updates the test suite to respect that.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6925372489

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall first build on JRF/tests-static-dataproviders at 48.608%

Totals Coverage Status
Change from base Build 6925352769: 48.6%
Covered Lines: 1100
Relevant Lines: 2263

💛 - Coveralls

@jrfnl jrfnl merged commit 74a4312 into trunk Nov 20, 2023
22 checks passed
@jrfnl jrfnl deleted the JRF/tests-static-dataproviders branch November 20, 2023 04:06
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.

2 participants