Skip to content

[10.x] Test Improvements - #48797

Merged
taylorotwell merged 2 commits into
10.xfrom
phpunit-test-annotation
Oct 24, 2023
Merged

taylorotwell merged 2 commits into
10.xfrom
phpunit-test-annotation

Conversation

@crynobone

Copy link
Copy Markdown
Member

Remove deprecated @test usage and always prefix test method name with test.

Using @test will trigger a deprecation error in PHPUnit 11, it's best to consistently not use this in our code base.

Remove deprecated `@test` usage and always prefix test method name with `test`.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@driesvints

Copy link
Copy Markdown
Member

@crynobone tests fail here

@driesvints
driesvints marked this pull request as draft October 23, 2023 12:50
Comment thread tests/Integration/Auth/ForgotPasswordWithoutDefaultRoutesTest.php Outdated
@crynobone

Copy link
Copy Markdown
Member Author

@driesvints fixed

@crynobone
crynobone marked this pull request as ready for review October 23, 2023 13:04
@taylorotwell
taylorotwell merged commit 6350194 into 10.x Oct 24, 2023
@taylorotwell
taylorotwell deleted the phpunit-test-annotation branch October 24, 2023 13:37
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.

3 participants