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

(NFC) PrevNextTest - Fix warning about "@group" #25168

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

totten
Copy link
Member

@totten totten commented Dec 13, 2022

Overview

When running this test, there are warnings like so:

WARNING: Class E2E\Core\PrevNextTest implements EndToEndInterface. It should declare "@group e2e".

In PHPUnit docs (https://phpunit.readthedocs.io/en/9.5/annotations.html#group), they encode multiple groups using multiple lines. Following this convention fixes the warning.

Before

Warning. Multiple groups in one @group annotation.

After

No warning. Each group has its own @group annotation.

When running this test, there are warnings like so:

```
WARNING: Class E2E\Core\PrevNextTest implements EndToEndInterface. It should declare "@group e2e".
```

In PHPUnit docs (https://phpunit.readthedocs.io/en/9.5/annotations.html#group), they
encode multiple groups using multiple lines. Following this convention fixes the warning.
@eileenmcnaughton eileenmcnaughton merged commit 595beb4 into civicrm:master Dec 14, 2022
@totten totten deleted the master-ornery branch December 14, 2022 04:38
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