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

assertMatchesRegularExpression() #4085

Closed
sebastianbergmann opened this issue Feb 12, 2020 · 0 comments
Closed

assertMatchesRegularExpression() #4085

sebastianbergmann opened this issue Feb 12, 2020 · 0 comments
Assignees
Labels
feature/assertion Issues related to assertions and expectations type/enhancement A new idea that should be implemented
Milestone

Comments

@sebastianbergmann
Copy link
Owner

Implement assertMatchesRegularExpression() as alternative for assertRegExp() with a more readable name.

@sebastianbergmann sebastianbergmann added type/enhancement A new idea that should be implemented feature/assertion Issues related to assertions and expectations labels Feb 12, 2020
@sebastianbergmann sebastianbergmann added this to the PHPUnit 9.1 milestone Feb 12, 2020
@sebastianbergmann sebastianbergmann self-assigned this Feb 12, 2020
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 16, 2020
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 16, 2020
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 16, 2020
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 16, 2020
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 16, 2020
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 16, 2020
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 21, 2020
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 21, 2020
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 20, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 20, 2021
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 21, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 21, 2021
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 21, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 21, 2021
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 22, 2021
…xp()` with `assertMatchesRegularExpression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 22, 2021
…egExp()` with `assertDoesNotMatchRegularExpression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 26, 2021
…xp()` with `assertMatchesRegularExpression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 26, 2021
…egExp()` with `assertDoesNotMatchRegularExpression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 30, 2021
…xp()` with `assertMatchesRegularExpression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Jul 30, 2021
…egExp()` with `assertDoesNotMatchRegularExpression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 4, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 4, 2021
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 4, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
jrfnl added a commit to jrfnl/wordpress-develop-official that referenced this issue Aug 4, 2021
…ression()`

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future proof the tests some more.

Ref:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
nylen pushed a commit to nylen/wordpress-develop-svn that referenced this issue Aug 6, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51564].

Props jrf.
See #46149.

git-svn-id: https://develop.svn.wordpress.org/trunk@51565 602fd350-edb4-49c9-b593-d223f7449a82
pento pushed a commit to WordPress/wordpress-develop that referenced this issue Aug 6, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51564].

Props jrf.
See #46149.

git-svn-id: https://develop.svn.wordpress.org/trunk@51565 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this issue Aug 6, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51564].

Props jrf.
See #46149.
Built from https://develop.svn.wordpress.org/trunk@51565


git-svn-id: http://core.svn.wordpress.org/trunk@51176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
pento pushed a commit to WordPress/wordpress-develop that referenced this issue Aug 6, 2021
…ression()`.

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51565].

Props jrf.
See #46149.

git-svn-id: https://develop.svn.wordpress.org/trunk@51566 602fd350-edb4-49c9-b593-d223f7449a82
nylen pushed a commit to nylen/wordpress-develop-svn that referenced this issue Aug 6, 2021
…ression()`.

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51565].

Props jrf.
See #46149.

git-svn-id: https://develop.svn.wordpress.org/trunk@51566 602fd350-edb4-49c9-b593-d223f7449a82
markjaquith pushed a commit to markjaquith/WordPress that referenced this issue Aug 6, 2021
…ression()`.

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51565].

Props jrf.
See #46149.
Built from https://develop.svn.wordpress.org/trunk@51566


git-svn-id: http://core.svn.wordpress.org/trunk@51177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
gMagicScott pushed a commit to gMagicScott/core.wordpress-mirror that referenced this issue Aug 6, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51564].

Props jrf.
See #46149.
Built from https://develop.svn.wordpress.org/trunk@51565


git-svn-id: https://core.svn.wordpress.org/trunk@51176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
gMagicScott pushed a commit to gMagicScott/core.wordpress-mirror that referenced this issue Aug 6, 2021
…ression()`.

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088

Follow-up to [51559-51565].

Props jrf.
See #46149.
Built from https://develop.svn.wordpress.org/trunk@51566


git-svn-id: https://core.svn.wordpress.org/trunk@51177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
swissspidy added a commit to GoogleForCreators/web-stories-wp that referenced this issue Aug 9, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* sebastianbergmann/phpunit@9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
swissspidy added a commit to GoogleForCreators/web-stories-wp that referenced this issue Aug 10, 2021
The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* sebastianbergmann/phpunit@9.1.5/ChangeLog-9.1.md#910---2020-04-03
* sebastianbergmann/phpunit#4085
* sebastianbergmann/phpunit#4088
mattyrob added a commit to ClassicPress/ClassicPress that referenced this issue Sep 29, 2022
* WP-r42799: Tests: Correct assertion in `Tests_WP_Customize_Setting::test_constructor_with_args()`.

WP:Props jipmoors.
See https://core.trac.wordpress.org/ticket/30988, https://core.trac.wordpress.org/ticket/43218.

---

Merges https://core.trac.wordpress.org/changeset/42799 / WordPress/wordpress-develop@257048ac71 to ClassicPress.

* WP-r44701: Build/Test Tools: Add support for PHPUnit 7.x.

* Create an abstract `WP_UnitTestCase_Base` class to share between PHPUnit 7.x and older versions.
* Add a speed-trap loader to determine which `SpeedTrapListener` class needs to be loaded for the current PHPUnit version.
* Remove unnecessary `PHPUnit\Util\Test` and `PHPUnit_Util_Getopt` inheritances.
* Update Travis CI config to use PHPUnit 7.x for PHP 7.1, 7.2, and nightly PHP versions.

WP:Props jipmoors, netweb, desrosj, ayeshrajans, soulseekah, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/43218.

Conflicts:
- .travis.yml
- tests/phpunit/includes/phpunit6/compat.php
- tests/phpunit/includes/testcase-canonical.php
- tests/phpunit/includes/testcase.php

---

Merges https://core.trac.wordpress.org/changeset/44701 / WordPress/wordpress-develop@001c6498e8 to ClassicPress.

* Fix conflicts from 44701 including restoring the assertAttachmentMetaHasSizes() function

* WP-r44702: Build/Test Tools: Reorder `<file>` and `<exclude>` rules in `phpunit.xml.dist` to avoid warnings in PHPUnit 7.2+.

Remove deprecated `logIncompleteSkipped` option that does not exist in PHPUnit 6.0+.

See https://core.trac.wordpress.org/ticket/43218.

Conflicts:
- phpunit.xml.dist

---

Merges https://core.trac.wordpress.org/changeset/44702 / WordPress/wordpress-develop@6d8637097a to ClassicPress.

* Fix merge conflicts from 44702

* WP-r44703: Build/Test Tools: Correct `WP_Test_REST_Schema_Sanitization::test_type_string()` to check for both `1.1` float and `'1.10'` string explicitly.

Previously, the test only passed due to a bug in PHPUnit 7.1.x and older versions.

Fixes https://core.trac.wordpress.org/ticket/43218. See https://core.trac.wordpress.org/ticket/38586.

---

Merges https://core.trac.wordpress.org/changeset/44703 / WordPress/wordpress-develop@48070a45a9 to ClassicPress.

* WP-r44704: Build/Test Tools: Reorder `<file>` and `<exclude>` rules in `multisite.xml` to avoid warnings in PHPUnit 7.2+.

Missed in https://core.trac.wordpress.org/changeset/44702.

See https://core.trac.wordpress.org/ticket/43218.

Conflicts:
- tests/phpunit/multisite.xml

---

Merges https://core.trac.wordpress.org/changeset/44704 / WordPress/wordpress-develop@e4813189c3 to ClassicPress.

* Fix merge conflicts from 44704

* WP-r44705: Coding Standards: Replace spaced indentation sections of `phpunit.xml.dist`, `multisite.xml`, and `build.xml` with tabs.

WP:Props netweb, desrosj.
See https://core.trac.wordpress.org/ticket/43218.

---

Merges https://core.trac.wordpress.org/changeset/44705 / WordPress/wordpress-develop@ad71116f38 to ClassicPress.

* WP-r44707: Build/Test Tools: Don't throw an exception for unrecognized options in `WP_PHPUnit_Util_Getopt::parseLongOption()`.

The method is only used for two known options: `group` and `exclude-group`, others should be passed to PHPUnit.

WP:Props johnbillion.
See https://core.trac.wordpress.org/ticket/43218.

---

Merges https://core.trac.wordpress.org/changeset/44707 / WordPress/wordpress-develop@6e80f7cebf to ClassicPress.

* WP-r44715: Build/Test Tools: Simplify `WP_PHPUnit_Util_Getopt` and update documentation.

Introduced in [918/tests] and updated in https://core.trac.wordpress.org/changeset/26871, the class is there to make sure that known bugs are not skipped when `phpunit` is called with a `--group` that corresponds to an `@ticket` annotation (such as `phpunit --group 12345`).

Enforcing recognized arguments or correctly formed arguments is not the concern here, so reusing `PHPUnit_Util_Getopt::parseLongOption()` was superfluous.

See https://core.trac.wordpress.org/ticket/43218.

Conflicts:
- tests/phpunit/includes/bootstrap.php

---

Merges https://core.trac.wordpress.org/changeset/44715 / WordPress/wordpress-develop@b9b66b159b to ClassicPress.

* Fix merge conflicts from 44715

* WP-r44719: Build/Test Tools: Move `WP_UnitTestCase_Base::assertPostConditions()` to a more appropriate place.

See https://core.trac.wordpress.org/ticket/43218.

Conflicts:
- tests/phpunit/includes/abstract-testcase.php

---

Merges https://core.trac.wordpress.org/changeset/44719 / WordPress/wordpress-develop@4b8e33fbee to ClassicPress.

* Fix merge conflicts from 44719

* WP-r44723: Build/Test Tools: Display a message about currently supported PHPUnit branch to avoid fatal errors on later versions.

See https://core.trac.wordpress.org/ticket/46149.

---

Merges https://core.trac.wordpress.org/changeset/44723 / WordPress/wordpress-develop@3e19129dc9 to ClassicPress.

* WP-r44785: Replace usages of basename() with wp_basename() in order to support multibyte filenames

This is focused on the pieces of code that touch media files and the tests that support them. `basename` isn't multibyte compatible out of the box. See http://php.net/basename and https://bugs.php.net/bug.php?id=62119.

See https://core.trac.wordpress.org/ticket/43170.
WP:Props Viper007Bond.

Conflicts:
- src/wp-admin/custom-background.php
- src/wp-admin/custom-header.php
- src/wp-admin/includes/image-edit.php
- src/wp-admin/includes/image.php
- src/wp-admin/includes/media.php
- src/wp-content/themes/twentyten/loop-attachment.php
- src/wp-includes/class-wp-customize-manager.php
- src/wp-includes/deprecated.php
- src/wp-includes/functions.php
- src/wp-includes/post.php
- tests/phpunit/includes/factory/class-wp-unittest-factory-for-attachment.php
- tests/phpunit/tests/ajax/MediaEdit.php
- tests/phpunit/tests/blocks/block-parser.php
- tests/phpunit/tests/blocks/render.php
- tests/phpunit/tests/image/resize.php
- tests/phpunit/tests/image/siteIcon.php
- tests/phpunit/tests/post/attachments.php
- tests/phpunit/tests/xmlrpc/wp/getMediaItem.php

---

Merges https://core.trac.wordpress.org/changeset/44785 / WordPress/wordpress-develop@e421f262dc to ClassicPress.

* Fix merge conflicts from 44785

* WP-r44823: Built/Test Tools: Add missing access modifiers to `abstract-testcase.php`.

Fixes https://core.trac.wordpress.org/ticket/46384.
WP:Props andizer.

---

Merges https://core.trac.wordpress.org/changeset/44823 / WordPress/wordpress-develop@a71fece6b8 to ClassicPress.

* WP-r44902: Docs: Improve documentation for `phpunit/includes/abstract-testcase.php`.

WP:Props andizer.
Fixes https://core.trac.wordpress.org/ticket/46499.

---

Merges https://core.trac.wordpress.org/changeset/44902 / WordPress/wordpress-develop@981ed3fbc6 to ClassicPress.

* WP-r44904: PHPCS: Remove extra space added in https://core.trac.wordpress.org/changeset/44902.

See https://core.trac.wordpress.org/ticket/46499.

---

Merges https://core.trac.wordpress.org/changeset/44904 / WordPress/wordpress-develop@04a9083709 to ClassicPress.

* WP-r44916: Coding Standards: Minor code and performance improvements in `phpunit/includes/abstract-testcase.php`.

WP:Props andizer.
Fixes https://core.trac.wordpress.org/ticket/46500.

---

Merges https://core.trac.wordpress.org/changeset/44916 / WordPress/wordpress-develop@7be4aabff6 to ClassicPress.

* WP-r44922: Docs: Correct `@param` name in `setExpectedIncorrectUsage()` DocBlock.

WP:Props yoavf.
Fixes https://core.trac.wordpress.org/ticket/46546.

---

Merges https://core.trac.wordpress.org/changeset/44922 / WordPress/wordpress-develop@aaf266db42 to ClassicPress.

* WP-r44923: Docs: Add missing article in `setExpectedDeprecated()` DocBlock.

See https://core.trac.wordpress.org/ticket/46543.

---

Merges https://core.trac.wordpress.org/changeset/44923 / WordPress/wordpress-develop@6d2f78d9ba to ClassicPress.

* WP-r44944: Build/Test tools: Add support for passing a `WP_Error` object to `wp_die()` during tests.

This brings the functionality inline with `wp_die()` during non-test usage.

Fixes https://core.trac.wordpress.org/ticket/46460

---

Merges https://core.trac.wordpress.org/changeset/44944 / WordPress/wordpress-develop@4b2a7d4ab6 to ClassicPress.

* WP-r44966: Privacy: Introduce Privacy Policy page helpers:

* `is_privacy_policy()` template tag
* `privacy-policy.php` template
* `.privacy-policy` body class
* `.menu-item-privacy-policy` menu item class

WP:Props garrett-eclipse, birgire, xkon, Clorith.
Fixes https://core.trac.wordpress.org/ticket/44005.

Conflicts:
- src/wp-includes/post-template.php
- src/wp-includes/query.php
- tests/phpunit/tests/post/nav-menu.php
- tests/phpunit/tests/template.php
- tests/phpunit/tests/theme.php

---

Merges https://core.trac.wordpress.org/changeset/44966 / WordPress/wordpress-develop@65bd3654cc to ClassicPress.

* Fix merge conflicts from 44966

* WP-r45486: Build/Test Tools: Add `$current_screen` to the list of globals to unset in `WP_UnitTestCase_Base::go_to()`.

WP:Props mauteri.
Fixes https://core.trac.wordpress.org/ticket/47439.

---

Merges https://core.trac.wordpress.org/changeset/45486 / WordPress/wordpress-develop@af0c73b10b to ClassicPress.

* WP-r46127: Code Modernisation: Introduce the spread operator in `tests/phpunit/*`.

Rather than relying `func_get_args()` to retrieve arbitrary function arguments, we can now use the spread operator to assign them directly to a variable.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/47678.

Conflicts:
- tests/phpunit/includes/utils.php
- tests/phpunit/tests/hooks/doAction.php

---

Merges https://core.trac.wordpress.org/changeset/46127 / WordPress/wordpress-develop@3ae54e84da to ClassicPress.

* Fix merge conflicts from 46127

* WP-r46221: Tests: Remove a workaround for `get_called_class()`.

The `get_called_class()` function was introduced in PHP 5.3, so no longer needs a workaround.

Mark `WP_UnitTestCase_Base::get_called_class()` as deprecated. Leave it in place for now as plugins or themes using the WP unit test framework might still call this method.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/48074.

---

Merges https://core.trac.wordpress.org/changeset/46221 / WordPress/wordpress-develop@5f0fb23a3b to ClassicPress.

* WP-r46612: Build/Test Tools: Ignore EOL differences in tests using multiline string assertions.

Unix vs. Windows EOL style mismatches can cause misleading failures in tests using the heredoc syntax (`<<<`) or multiline strings as the expected result.

Fixes https://core.trac.wordpress.org/ticket/31432. See https://core.trac.wordpress.org/ticket/42594, https://core.trac.wordpress.org/ticket/47411.

Conflicts:
- tests/phpunit/tests/blocks/render.php
- tests/phpunit/tests/dependencies/scripts.php
- tests/phpunit/tests/formatting/Autop.php
- tests/phpunit/tests/functions/getArchives.php
- tests/phpunit/tests/general/paginateLinks.php
- tests/phpunit/tests/pomo/po.php
- tests/phpunit/tests/post/listPages.php
- tests/phpunit/tests/post/template.php

---

Merges https://core.trac.wordpress.org/changeset/46612 / WordPress/wordpress-develop@b0419afba6 to ClassicPress.

* Fix merge conflicts from backport of 46612

* WP-r46682: Tests: Skip `test_readme()` if the HTTP request to `secure.php.net` or `dev.mysql.com` failed on timeout.

Move `skipTestOnTimeout()` to `WP_UnitTestCase_Base` to avoid duplication.

See https://core.trac.wordpress.org/ticket/44613.

Conflicts:
- tests/phpunit/includes/abstract-testcase.php
- tests/phpunit/tests/external-http/basic.php
- tests/phpunit/tests/http/base.php
- tests/phpunit/tests/http/functions.php

---

Merges https://core.trac.wordpress.org/changeset/46682 / WordPress/wordpress-develop@fcf86b80b6 to ClassicPress.

* Fix merge conflicts from 46682 and add testsuite name to silence PHPUnit warning, part of upstream 44126

* WP-r46986: Docs: Add `@method` notation for `WP_UnitTest_Factory_For_Term::create_and_get()` for consistency with other factories.

See https://core.trac.wordpress.org/ticket/48303.

Conflicts:
- tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php

---

Merges https://core.trac.wordpress.org/changeset/46986 / WordPress/wordpress-develop@0d81dcbfb1 to ClassicPress.

* Fix merge conflicts from backport of 46986

* WP-r47880: Build/Test Tools: Let `WP_UnitTestCase_Base` extend the namespaced version of PHPUnit's test case class.

With the minimum PHP version requirement set to 5.6 we're now able to use namespaces by default. This replaces `PHPUnit_Framework_TestCase` with `PHPUnit\Framework\TestCase` for `WP_UnitTestCase_Base` to solve autocompletion issues with code editors when using more recent PHPUnit versions. `PHPUnit\Framework\TestCase` is available since PHPUnit 5.4 and now the minimum required PHPUnit version.

Fixes https://core.trac.wordpress.org/ticket/50236.

Conflicts:
- tests/phpunit/includes/bootstrap.php

---

Merges https://core.trac.wordpress.org/changeset/47880 / WordPress/wordpress-develop@178eeaf57e to ClassicPress.

* Fix merge conflicts from backport of 47880

* WP-r48464: Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`.

This allows more tests to pass on Windows.

WP:Props danielhuesken, DJPaul, christophherr, joemcgill, netweb, davidbaumwald, SergeyBiryukov.
Fixes https://core.trac.wordpress.org/ticket/40856, https://core.trac.wordpress.org/ticket/39975.

Conflicts:
- tests/phpunit/tests/file.php
- tests/phpunit/tests/rest-api/rest-schema-setup.php

---

Merges https://core.trac.wordpress.org/changeset/48464 / WordPress/wordpress-develop@022ebde54d to ClassicPress.

* Fix merge conflicts from backport of 48464

* WP-r48937: Tests: First pass at using `assertSame()` instead of `assertEquals()` in most of the unit tests.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.

WP:Props johnbillion, jrf, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/actions.php
- tests/phpunit/tests/admin/includesCommunityEvents.php
- tests/phpunit/tests/admin/includesFile.php
- tests/phpunit/tests/admin/includesMisc.php
- tests/phpunit/tests/admin/includesPlugin.php
- tests/phpunit/tests/admin/includesPost.php
- tests/phpunit/tests/admin/includesSchema.php
- tests/phpunit/tests/admin/includesScreen.php
- tests/phpunit/tests/admin/includesTheme.php
- tests/phpunit/tests/adminbar.php
- tests/phpunit/tests/ajax/AddMeta.php
- tests/phpunit/tests/ajax/Compression.php
- tests/phpunit/tests/ajax/CustomizeManager.php
- tests/phpunit/tests/ajax/DeleteComment.php
- tests/phpunit/tests/ajax/DimComment.php
- tests/phpunit/tests/ajax/EditComment.php
- tests/phpunit/tests/ajax/GetComments.php
- tests/phpunit/tests/ajax/ReplytoComment.php
- tests/phpunit/tests/ajax/TagSearch.php
- tests/phpunit/tests/auth.php
- tests/phpunit/tests/avatar.php
- tests/phpunit/tests/basic.php
- tests/phpunit/tests/blocks/block-context.php
- tests/phpunit/tests/blocks/block-list.php
- tests/phpunit/tests/blocks/block-parser.php
- tests/phpunit/tests/blocks/block-type-registry.php
- tests/phpunit/tests/blocks/block-type.php
- tests/phpunit/tests/blocks/block.php
- tests/phpunit/tests/blocks/register.php
- tests/phpunit/tests/blocks/render.php
- tests/phpunit/tests/blocks/serialization.php
- tests/phpunit/tests/cache.php
- tests/phpunit/tests/canonical.php
- tests/phpunit/tests/category.php
- tests/phpunit/tests/comment-submission.php
- tests/phpunit/tests/comment.php
- tests/phpunit/tests/comment/getPageOfComment.php
- tests/phpunit/tests/comment/query.php
- tests/phpunit/tests/comment/template.php
- tests/phpunit/tests/comment/wpBatchUpdateCommentType.php
- tests/phpunit/tests/compat.php
- tests/phpunit/tests/cron.php
- tests/phpunit/tests/customize/manager.php
- tests/phpunit/tests/customize/nav-menus.php
- tests/phpunit/tests/customize/partial.php
- tests/phpunit/tests/customize/setting.php
- tests/phpunit/tests/date/dateI18n.php
- tests/phpunit/tests/date/getCommentDate.php
- tests/phpunit/tests/date/getFeedBuildDate.php
- tests/phpunit/tests/date/getPermalink.php
- tests/phpunit/tests/date/getPostTime.php
- tests/phpunit/tests/date/getTheDate.php
- tests/phpunit/tests/date/getTheModifiedDate.php
- tests/phpunit/tests/date/maybeDeclineDate.php
- tests/phpunit/tests/date/mysql2date.php
- tests/phpunit/tests/date/theDate.php
- tests/phpunit/tests/date/wpDate.php
- tests/phpunit/tests/date/wpTimezone.php
- tests/phpunit/tests/date/xmlrpc.php
- tests/phpunit/tests/db.php
- tests/phpunit/tests/dbdelta.php
- tests/phpunit/tests/dependencies.php
- tests/phpunit/tests/dependencies/scripts.php
- tests/phpunit/tests/dependencies/styles.php
- tests/phpunit/tests/error-protection/recovery-mode-cookie-service.php
- tests/phpunit/tests/error-protection/recovery-mode-key-service.php
- tests/phpunit/tests/feed/atom.php
- tests/phpunit/tests/feed/rss2.php
- tests/phpunit/tests/file.php
- tests/phpunit/tests/filesystem/findFolder.php
- tests/phpunit/tests/filters.php
- tests/phpunit/tests/formatting/Autop.php
- tests/phpunit/tests/formatting/CapitalPDangit.php
- tests/phpunit/tests/formatting/CleanPre.php
- tests/phpunit/tests/formatting/ConvertInvalidEntries.php
- tests/phpunit/tests/formatting/EscAttr.php
- tests/phpunit/tests/formatting/EscHtml.php
- tests/phpunit/tests/formatting/EscTextarea.php
- tests/phpunit/tests/formatting/EscUrl.php
- tests/phpunit/tests/formatting/EscXml.php
- tests/phpunit/tests/formatting/ExcerptRemoveBlocks.php
- tests/phpunit/tests/formatting/GetUrlInContent.php
- tests/phpunit/tests/formatting/HtmlExcerpt.php
- tests/phpunit/tests/formatting/JSEscape.php
- tests/phpunit/tests/formatting/LikeEscape.php
- tests/phpunit/tests/formatting/MakeClickable.php
- tests/phpunit/tests/formatting/MapDeep.php
- tests/phpunit/tests/formatting/NormalizeWhitespace.php
- tests/phpunit/tests/formatting/RemoveAccents.php
- tests/phpunit/tests/formatting/SanitizeFileName.php
- tests/phpunit/tests/formatting/SanitizeMimeType.php
- tests/phpunit/tests/formatting/SanitizeTitle.php
- tests/phpunit/tests/formatting/SanitizeTitleWithDashes.php
- tests/phpunit/tests/formatting/SanitizeUser.php
- tests/phpunit/tests/formatting/Slashit.php
- tests/phpunit/tests/formatting/Smilies.php
- tests/phpunit/tests/formatting/StripSlashesDeep.php
- tests/phpunit/tests/formatting/URLShorten.php
- tests/phpunit/tests/formatting/WPBasename.php
- tests/phpunit/tests/formatting/WPRelUgc.php
- tests/phpunit/tests/formatting/WPSlash.php
- tests/phpunit/tests/formatting/WPSpecialchars.php
- tests/phpunit/tests/formatting/WPStripAllTags.php
- tests/phpunit/tests/formatting/WPTargetedLinkRel.php
- tests/phpunit/tests/formatting/WPTexturize.php
- tests/phpunit/tests/formatting/WPTrimWords.php
- tests/phpunit/tests/formatting/WpHtmlEditPre.php
- tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php
- tests/phpunit/tests/formatting/WpRichEditPre.php
- tests/phpunit/tests/formatting/Zeroise.php
- tests/phpunit/tests/formatting/balanceTags.php
- tests/phpunit/tests/formatting/date.php
- tests/phpunit/tests/formatting/isoDescrambler.php
- tests/phpunit/tests/formatting/redirect.php
- tests/phpunit/tests/functions.php
- tests/phpunit/tests/functions/canonical-charset.php
- tests/phpunit/tests/functions/cleanupHeaderComment.php
- tests/phpunit/tests/functions/getArchives.php
- tests/phpunit/tests/functions/wpListFilter.php
- tests/phpunit/tests/functions/wpRemoteFopen.php
- tests/phpunit/tests/general/archives.php
- tests/phpunit/tests/general/document-title.php
- tests/phpunit/tests/general/template.php
- tests/phpunit/tests/general/wpError.php
- tests/phpunit/tests/http/base.php
- tests/phpunit/tests/http/functions.php
- tests/phpunit/tests/http/http.php
- tests/phpunit/tests/image/dimensions.php
- tests/phpunit/tests/image/editor.php
- tests/phpunit/tests/image/functions.php
- tests/phpunit/tests/image/header.php
- tests/phpunit/tests/image/meta.php
- tests/phpunit/tests/image/siteIcon.php
- tests/phpunit/tests/import/import.php
- tests/phpunit/tests/import/parser.php
- tests/phpunit/tests/import/postmeta.php
- tests/phpunit/tests/kses.php
- tests/phpunit/tests/l10n.php
- tests/phpunit/tests/l10n/loadScriptTextdomain.php
- tests/phpunit/tests/link.php
- tests/phpunit/tests/link/getPreviewPostLink.php
- tests/phpunit/tests/link/wpGetCanonicalURL.php
- tests/phpunit/tests/mail.php
- tests/phpunit/tests/media.php
- tests/phpunit/tests/meta.php
- tests/phpunit/tests/meta/deleteMetadata.php
- tests/phpunit/tests/meta/query.php
- tests/phpunit/tests/meta/registerMeta.php
- tests/phpunit/tests/multisite.php
- tests/phpunit/tests/multisite/bootstrap.php
- tests/phpunit/tests/multisite/getSite.php
- tests/phpunit/tests/multisite/ms-files-rewriting.php
- tests/phpunit/tests/multisite/network.php
- tests/phpunit/tests/multisite/networkQuery.php
- tests/phpunit/tests/multisite/site.php
- tests/phpunit/tests/multisite/siteMeta.php
- tests/phpunit/tests/multisite/siteQuery.php
- tests/phpunit/tests/oembed/controller.php
- tests/phpunit/tests/oembed/filterResult.php
- tests/phpunit/tests/option/multisite.php
- tests/phpunit/tests/option/networkOption.php
- tests/phpunit/tests/option/option.php
- tests/phpunit/tests/option/registration.php
- tests/phpunit/tests/option/themeMods.php
- tests/phpunit/tests/option/transient.php
- tests/phpunit/tests/pomo/mo.php
- tests/phpunit/tests/pomo/po.php
- tests/phpunit/tests/pomo/translationEntry.php
- tests/phpunit/tests/pomo/translations.php
- tests/phpunit/tests/post.php
- tests/phpunit/tests/post/attachments.php
- tests/phpunit/tests/post/getLastPostDate.php
- tests/phpunit/tests/post/getLastPostModified.php
- tests/phpunit/tests/post/getPageUri.php
- tests/phpunit/tests/post/getPages.php
- tests/phpunit/tests/post/listPages.php
- tests/phpunit/tests/post/meta.php
- tests/phpunit/tests/post/nav-menu.php
- tests/phpunit/tests/post/objects.php
- tests/phpunit/tests/post/query.php
- tests/phpunit/tests/post/revisions.php
- tests/phpunit/tests/post/types.php
- tests/phpunit/tests/post/wpInsertPost.php
- tests/phpunit/tests/post/wpUniquePostSlug.php
- tests/phpunit/tests/query/conditionals.php
- tests/phpunit/tests/query/generatePostdata.php
- tests/phpunit/tests/query/metaQuery.php
- tests/phpunit/tests/query/postStatus.php
- tests/phpunit/tests/query/results.php
- tests/phpunit/tests/query/search.php
- tests/phpunit/tests/query/setupPostdata.php
- tests/phpunit/tests/query/taxQuery.php
- tests/phpunit/tests/rest-api.php
- tests/phpunit/tests/rest-api/rest-attachments-controller.php
- tests/phpunit/tests/rest-api/rest-autosaves-controller.php
- tests/phpunit/tests/rest-api/rest-block-directory-controller.php
- tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
- tests/phpunit/tests/rest-api/rest-block-type-controller.php
- tests/phpunit/tests/rest-api/rest-blocks-controller.php
- tests/phpunit/tests/rest-api/rest-categories-controller.php
- tests/phpunit/tests/rest-api/rest-comments-controller.php
- tests/phpunit/tests/rest-api/rest-controller.php
- tests/phpunit/tests/rest-api/rest-pages-controller.php
- tests/phpunit/tests/rest-api/rest-plugins-controller.php
- tests/phpunit/tests/rest-api/rest-post-meta-fields.php
- tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
- tests/phpunit/tests/rest-api/rest-post-types-controller.php
- tests/phpunit/tests/rest-api/rest-posts-controller.php
- tests/phpunit/tests/rest-api/rest-request.php
- tests/phpunit/tests/rest-api/rest-revisions-controller.php
- tests/phpunit/tests/rest-api/rest-schema-sanitization.php
- tests/phpunit/tests/rest-api/rest-schema-validation.php
- tests/phpunit/tests/rest-api/rest-search-controller.php
- tests/phpunit/tests/rest-api/rest-server.php
- tests/phpunit/tests/rest-api/rest-settings-controller.php
- tests/phpunit/tests/rest-api/rest-tags-controller.php
- tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
- tests/phpunit/tests/rest-api/rest-term-meta-fields.php
- tests/phpunit/tests/rest-api/rest-themes-controller.php
- tests/phpunit/tests/rest-api/rest-users-controller.php
- tests/phpunit/tests/rewrite.php
- tests/phpunit/tests/shortcode.php
- tests/phpunit/tests/sitemaps/functions.php
- tests/phpunit/tests/sitemaps/sitemaps-posts.php
- tests/phpunit/tests/sitemaps/sitemaps-taxonomies.php
- tests/phpunit/tests/sitemaps/sitemaps.php
- tests/phpunit/tests/taxonomy.php
- tests/phpunit/tests/template.php
- tests/phpunit/tests/term.php
- tests/phpunit/tests/term/cache.php
- tests/phpunit/tests/term/getTerms.php
- tests/phpunit/tests/term/getTheTerms.php
- tests/phpunit/tests/term/query.php
- tests/phpunit/tests/term/taxQuery.php
- tests/phpunit/tests/term/termExists.php
- tests/phpunit/tests/term/wpGetObjectTerms.php
- tests/phpunit/tests/term/wpSetObjectTerms.php
- tests/phpunit/tests/theme.php
- tests/phpunit/tests/theme/WPTheme.php
- tests/phpunit/tests/theme/themeDir.php
- tests/phpunit/tests/url.php
- tests/phpunit/tests/user.php
- tests/phpunit/tests/user/author.php
- tests/phpunit/tests/user/capabilities.php
- tests/phpunit/tests/user/countUsers.php
- tests/phpunit/tests/user/mapMetaCap.php
- tests/phpunit/tests/user/query.php
- tests/phpunit/tests/user/wpDeleteUser.php
- tests/phpunit/tests/walker.php
- tests/phpunit/tests/widgets/media-audio-widget.php
- tests/phpunit/tests/widgets/media-image-widget.php
- tests/phpunit/tests/widgets/media-video-widget.php
- tests/phpunit/tests/widgets/media-widget.php
- tests/phpunit/tests/widgets/text-widget.php
- tests/phpunit/tests/xmlrpc/mw/getPost.php
- tests/phpunit/tests/xmlrpc/wp/deleteTerm.php
- tests/phpunit/tests/xmlrpc/wp/editPost.php
- tests/phpunit/tests/xmlrpc/wp/editTerm.php
- tests/phpunit/tests/xmlrpc/wp/getOptions.php
- tests/phpunit/tests/xmlrpc/wp/getPost.php
- tests/phpunit/tests/xmlrpc/wp/getPostType.php
- tests/phpunit/tests/xmlrpc/wp/getPosts.php
- tests/phpunit/tests/xmlrpc/wp/getTerm.php
- tests/phpunit/tests/xmlrpc/wp/getTerms.php
- tests/phpunit/tests/xmlrpc/wp/getUsers.php
- tests/phpunit/tests/xmlrpc/wp/newPost.php
- tests/phpunit/tests/xmlrpc/wp/setOptions.php

---

Merges https://core.trac.wordpress.org/changeset/48937 / WordPress/wordpress-develop@164b22cf6a to ClassicPress.

* Merge backport conflicts from 48937
Note this also contains type casting for the following core files to ensure unit tests pass. Test on PHP 7.4.x uning PHPUnit 5, 6 and 7
wp-includes/comment.php
wp-includes/post-thumbnail-template.php

* WP-r48939: Tests: Introduce `assertSameSets()` and `assertSameSetsWithIndex()`, and use them where appropriate.

This ensures that not only the array values being compared are equal, but also that their type is the same.

These new methods replace most of the existing instances of `assertEqualSets()` and `assertEqualSetsWithIndex()`.

Going forward, stricter type checking by using `assertSameSets()` or `assertSameSetsWithIndex()` should generally be preferred, to make the tests more reliable.

Follow-up to https://core.trac.wordpress.org/changeset/48937.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/admin/includesCommunityEvents.php
- tests/phpunit/tests/admin/includesTemplate.php
- tests/phpunit/tests/admin/includesTheme.php
- tests/phpunit/tests/ajax/UpdatePlugin.php
- tests/phpunit/tests/blocks/block-type-registry.php
- tests/phpunit/tests/blocks/block-type.php
- tests/phpunit/tests/blocks/register.php
- tests/phpunit/tests/comment/query.php
- tests/phpunit/tests/customize/manager.php
- tests/phpunit/tests/customize/nav-menu-setting.php
- tests/phpunit/tests/customize/nav-menus.php
- tests/phpunit/tests/customize/widgets.php
- tests/phpunit/tests/dependencies/jquery.php
- tests/phpunit/tests/editor/wpEditors.php
- tests/phpunit/tests/functions/wpListUtil.php
- tests/phpunit/tests/general/wpError.php
- tests/phpunit/tests/includes/helpers.php
- tests/phpunit/tests/l10n/localeSwitcher.php
- tests/phpunit/tests/meta/deleteMetadata.php
- tests/phpunit/tests/meta/query.php
- tests/phpunit/tests/multisite/site.php
- tests/phpunit/tests/multisite/siteMeta.php
- tests/phpunit/tests/oembed/WpEmbed.php
- tests/phpunit/tests/oembed/getResponseData.php
- tests/phpunit/tests/post.php
- tests/phpunit/tests/post/getPages.php
- tests/phpunit/tests/post/wpPostType.php
- tests/phpunit/tests/query/dateQuery.php
- tests/phpunit/tests/query/metaQuery.php
- tests/phpunit/tests/rest-api/rest-autosaves-controller.php
- tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
- tests/phpunit/tests/rest-api/rest-block-type-controller.php
- tests/phpunit/tests/rest-api/rest-categories-controller.php
- tests/phpunit/tests/rest-api/rest-comments-controller.php
- tests/phpunit/tests/rest-api/rest-controller.php
- tests/phpunit/tests/rest-api/rest-pages-controller.php
- tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
- tests/phpunit/tests/rest-api/rest-post-types-controller.php
- tests/phpunit/tests/rest-api/rest-posts-controller.php
- tests/phpunit/tests/rest-api/rest-revisions-controller.php
- tests/phpunit/tests/rest-api/rest-search-controller.php
- tests/phpunit/tests/rest-api/rest-server.php
- tests/phpunit/tests/rest-api/rest-tags-controller.php
- tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
- tests/phpunit/tests/rest-api/rest-themes-controller.php
- tests/phpunit/tests/rest-api/rest-users-controller.php
- tests/phpunit/tests/rewrite/permastructs.php
- tests/phpunit/tests/sitemaps/sitemaps-users.php
- tests/phpunit/tests/sitemaps/sitemaps.php
- tests/phpunit/tests/term/getTerms.php
- tests/phpunit/tests/theme.php
- tests/phpunit/tests/user.php
- tests/phpunit/tests/user/countUsers.php
- tests/phpunit/tests/user/query.php
- tests/phpunit/tests/widgets/media-image-widget.php
- tests/phpunit/tests/widgets/media-widget.php

---

Merges https://core.trac.wordpress.org/changeset/48939 / WordPress/wordpress-develop@8be943d06e to ClassicPress.

* Fix merge conflicts from backport of 48939

* WP-r48940: Tests: Replace a few more instances of `assertEquals()` with `assertSame()`.

These were previously missed due to incorrect capitalization.

Follow-up to https://core.trac.wordpress.org/changeset/48937, https://core.trac.wordpress.org/changeset/48939.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/formatting/JSEscape.php
- tests/phpunit/tests/general/wpError.php
- tests/phpunit/tests/rest-api/rest-plugins-controller.php

---

Merges https://core.trac.wordpress.org/changeset/48940 / WordPress/wordpress-develop@3e111d9799 to ClassicPress.

* Fix merge conflicts from backport of 48940

* WP-r48944: Tests: Replace a few more instances of `assertEquals()` with `assertSame()`.

These were previously missed due to incorrect capitalization.

Follow-up to https://core.trac.wordpress.org/changeset/48937, https://core.trac.wordpress.org/changeset/48939, https://core.trac.wordpress.org/changeset/48940.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/user/listAuthors.php

---

Merges https://core.trac.wordpress.org/changeset/48944 / WordPress/wordpress-develop@af437fcdc4 to ClassicPress.

* Fix merge conflicts from backport of 48944

* WP-r48948: Tests: Correct assertion in `Tests_Cache::test_miss()`.

On failure to retrieve contents, `WP_Object_Cache::get()` returns `false`, not `null`.

The test only passed accidentally due to `assertEquals()` not performing a strict type check.

WP:Props johnbillion.
See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/cache.php

---

Merges https://core.trac.wordpress.org/changeset/48948 / WordPress/wordpress-develop@6f07ff569b to ClassicPress.

* Fix merge conflicts from backport of 48948

* WP-r48949: Tests: Correct assertion in `Tests_Cache::test_add_get_null()`.

It is possible to store `null` in the cache without it being converted to an empty string.

Follow-up to https://core.trac.wordpress.org/changeset/20089.

WP:Props johnbillion, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/cache.php

---

Merges https://core.trac.wordpress.org/changeset/48949 / WordPress/wordpress-develop@944a6845a2 to ClassicPress.

* Fix merge conflicts from backport of 48949

* WP-r48950: Tests: Add a test case for storing `false` in the cache.

Follow-up to https://core.trac.wordpress.org/changeset/20089, https://core.trac.wordpress.org/changeset/48949.

See https://core.trac.wordpress.org/ticket/38266.

---

Merges https://core.trac.wordpress.org/changeset/48950 / WordPress/wordpress-develop@83f23c4c4f to ClassicPress.

* WP-r48952: Tests: Add a polyfill for `assertEqualsWithDelta()` to `WP_UnitTestCase` and use it where appropriate.

`assertEqualsWithDelta()` was added in PHPUnit 7.5, while WordPress still supports PHPUnit 5.4.x as the minimum version.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/includes/testcase.php
- tests/phpunit/tests/date/currentTime.php
- tests/phpunit/tests/date/dateI18n.php
- tests/phpunit/tests/date/getFeedBuildDate.php
- tests/phpunit/tests/date/query.php
- tests/phpunit/tests/multisite/site.php
- tests/phpunit/tests/post.php
- tests/phpunit/tests/rest-api/rest-posts-controller.php

---

Merges https://core.trac.wordpress.org/changeset/48952 / WordPress/wordpress-develop@5bad67bccf to ClassicPress.

* Fix merge conflicts from backport of 48952

* WP-r48953: Tests: Remove the polyfill for `assertNotFalse()`.

`assertNotFalse()` is available in PHPUnit since version 4.0.

The polyfill was introduced back when WordPress still supported PHP 5.2 and PHPUnit 3.6.x, and is now redundant.

Follow-up to https://core.trac.wordpress.org/changeset/39919, https://core.trac.wordpress.org/changeset/45058, https://core.trac.wordpress.org/changeset/47880.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/includes/testcase.php

---

Merges https://core.trac.wordpress.org/changeset/48953 / WordPress/wordpress-develop@3a9e78c000 to ClassicPress.

* Fix merge conflict from backport of 48953

* WP-r48954: Tests: Replace a few instances of `assertNotEquals()` with `assertNotFalse()`.

See https://core.trac.wordpress.org/ticket/38266.

---

Merges https://core.trac.wordpress.org/changeset/48954 / WordPress/wordpress-develop@a85d190b00 to ClassicPress.

* WP-r48957: Build/Test Tools: Allow unit tests to run on PHP 8 in full.

PHP 8 introduces a new control structure called `match`, which makes `match` a reserved keyword in PHP 8.

One of the PHPUnit dependencies declares a class named `Match`, which triggered a fatal error before PHPUnit could even start.

To be able to use PHPUnit 7.x on PHP 8 and run the tests, core needs a new version of that dependency, which is now installed using Composer.

This is the simplest way to get things working again and start addressing the individual test failures.

Additionally, various test runs on PHP 8 on Travis are now performed individually instead of being chained, so that failures outside of WP scope don't block further execution.

WP:Props jrf, jorbin, pento.
See https://core.trac.wordpress.org/ticket/50902.

Conflicts:
- .travis.yml
- composer.lock

---

Merges https://core.trac.wordpress.org/changeset/48957 / WordPress/wordpress-develop@92bf360a03 to ClassicPress.

* WP-r48972: Tests: Replace the native PHPUnit `getMockForAbstractClass()` and `getMockBuilder()` methods.

This avoids parse errors in PHPUnit internals due to `match` being a reserved keyword in PHP 8.

To run on PHP 8, the tests relying on these methods require PHPUnit 9.3 or later.

When the test suite is updated for compatibility with PHPUnit 9.x, these overrides can be removed.

See https://core.trac.wordpress.org/ticket/50913, https://core.trac.wordpress.org/ticket/50902.

---

Merges https://core.trac.wordpress.org/changeset/48972 / WordPress/wordpress-develop@1a89e63838 to ClassicPress.

* Correct doc blocks following backport of 48972

* WP-r48974: Tests: Correct assertion in `Tests_DB::test_prepare_incorrect_arg_count()`.

On failure, `wpdb::prepare()` returns either an empty string or `null`, not `false`.

The test only passed accidentally due to `assertEquals()` not performing a strict type check.

Follow-up to https://core.trac.wordpress.org/changeset/41662.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/db.php

---

Merges https://core.trac.wordpress.org/changeset/48974 / WordPress/wordpress-develop@91feaf04af to ClassicPress.

* Fix merge conflict from backport of 48974

* WP-r49037: Tests: Backport two changes from PHPUnit 9.3:

* Replace the `Match` interface with `ParametersMatch`, to avoid parse errors due to `match` being a reserved keyword in PHP 8.
* Replace `ReflectionParameter::getClass()` usage, which is deprecated in PHP 8.

This allows tests relying on the `getMockForAbstractClass()` and `getMockBuilder()` methods to run again on PHP 8.

When the test suite is updated for compatibility with PHPUnit 9.x, these overrides can be removed.

Follow-up to https://core.trac.wordpress.org/changeset/48972.

See https://core.trac.wordpress.org/ticket/50913, https://core.trac.wordpress.org/ticket/50902.

Conflicts:
- composer.json
- tests/phpunit/includes/phpunit7/testcase.php

---

Merges https://core.trac.wordpress.org/changeset/49037 / WordPress/wordpress-develop@c31a551273 to ClassicPress.

* Fix merge conflict from backport of 49037

* WP-r49051: Tests: Correct assertion in `WP_Test_REST_Comments_Controller::check_comment_data()`.

`author_avatar_urls` should be present in the comment data array keys, not values.

The test only passed accidentally due to `assertContains()` not performing a strict type check.

See https://core.trac.wordpress.org/ticket/38266, https://core.trac.wordpress.org/ticket/50913.

---

Merges https://core.trac.wordpress.org/changeset/49051 / WordPress/wordpress-develop@e2b74bee82 to ClassicPress.

* WP-r49074: Build/Test Tools: Comment out the `xdebug` group test run for PHP 8 for now.

Xdebug supports PHP 8 only from version 3.0, which is not released yet.

Once Xdebug 3.0 is released and included in the Docker image, this should be uncommented again.

Follow-up to https://core.trac.wordpress.org/changeset/48957, https://core.trac.wordpress.org/changeset/49037.

See https://core.trac.wordpress.org/ticket/50913, https://core.trac.wordpress.org/ticket/50902.

Conflicts:
- .travis.yml

---

Merges https://core.trac.wordpress.org/changeset/49074 / WordPress/wordpress-develop@8ae4a7614c to ClassicPress.

* WP-r49077: Build/Test Tools: Remove PHP 8 from allowed failures.

With all known unit test issues now addressed, WordPress 5.6 aims to support PHP 8 as much as possible.

See https://core.trac.wordpress.org/ticket/50913, https://core.trac.wordpress.org/ticket/50902.

Conflicts:
- .travis.yml

---

Merges https://core.trac.wordpress.org/changeset/49077 / WordPress/wordpress-develop@19513ff6a0 to ClassicPress.

* WP-r49126: Tests: Use `assertSame()` in `test_edit_user_blank_password()`, for consistency with other assertions.

Follow-up to https://core.trac.wordpress.org/changeset/49118.

See https://core.trac.wordpress.org/ticket/42766, https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/tests/user.php

---

Merges https://core.trac.wordpress.org/changeset/49126 / WordPress/wordpress-develop@325024011d to ClassicPress.

* Fix merge conflicts from backport of 49126, includes removing a test for an unpatched issue in CP as per upstream ticket 42766

* WP-r49547: Tests: Use `assertSame()` in some newly introduced tests.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.

Follow-up to https://core.trac.wordpress.org/changeset/48937, https://core.trac.wordpress.org/changeset/48939, https://core.trac.wordpress.org/changeset/48940, https://core.trac.wordpress.org/changeset/48944.

See https://core.trac.wordpress.org/ticket/38266.

Conflicts:
- tests/phpunit/includes/testcase-block-supports.php
- tests/phpunit/tests/auth.php
- tests/phpunit/tests/functions.php
- tests/phpunit/tests/rest-api/rest-application-passwords-controller.php
- tests/phpunit/tests/rest-api/rest-attachments-controller.php
- tests/phpunit/tests/rest-api/rest-comments-controller.php
- tests/phpunit/tests/rest-api/rest-controller.php
- tests/phpunit/tests/rest-api/rest-request.php
- tests/phpunit/tests/rest-api/rest-search-controller.php
- tests/phpunit/tests/rest-api/rest-server.php
- tests/phpunit/tests/rest-api/rest-site-health-controller.php

---

Merges https://core.trac.wordpress.org/changeset/49547 / WordPress/wordpress-develop@4eee0d2fb7 to ClassicPress.

* Fix merge conflicts from backport of 49547

* WP-r49947: Taxonomy: Correct and clarify documentation for the return types of term query functions.

See https://core.trac.wordpress.org/ticket/51800, https://core.trac.wordpress.org/ticket/38266

Conflicts:
- src/wp-includes/taxonomy.php
- tests/phpunit/tests/term/wpInsertTerm.php

---

Merges https://core.trac.wordpress.org/changeset/49947 / WordPress/wordpress-develop@cf68c90021 to ClassicPress.

* Fix merge conflicts from backport of 49947

* WP-r50283: Tests: Replace most instances of `assertEquals()` in `phpunit/includes/` with `assertSame()`.

Follow-up to https://core.trac.wordpress.org/changeset/48937, https://core.trac.wordpress.org/changeset/48939, https://core.trac.wordpress.org/changeset/48940, https://core.trac.wordpress.org/changeset/48944.

WP:Props johnbillion, jrf, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/38266, https://core.trac.wordpress.org/ticket/52482.

Conflicts:
- tests/phpunit/includes/testcase-canonical.php
- tests/phpunit/includes/testcase-rest-api.php
- tests/phpunit/includes/testcase-rest-post-type-controller.php
- tests/phpunit/includes/testcase-xml.php

---

Merges https://core.trac.wordpress.org/changeset/50283 / WordPress/wordpress-develop@62d5c54b67 to ClassicPress.

* Fix merge conflict from backport of 50283

* WP-r50284: Tests: Use `assertSame()` in some newly introduced tests.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.

Follow-up to https://core.trac.wordpress.org/changeset/49904, https://core.trac.wordpress.org/changeset/49925, https://core.trac.wordpress.org/changeset/49992, https://core.trac.wordpress.org/changeset/50012, https://core.trac.wordpress.org/changeset/50013, https://core.trac.wordpress.org/changeset/50065, https://core.trac.wordpress.org/changeset/50075, https://core.trac.wordpress.org/changeset/50131, https://core.trac.wordpress.org/changeset/50150, https://core.trac.wordpress.org/changeset/50157.

See https://core.trac.wordpress.org/ticket/38266, https://core.trac.wordpress.org/ticket/52482.

Conflicts:
- tests/phpunit/tests/auth.php
- tests/phpunit/tests/functions.php
- tests/phpunit/tests/https-detection.php
- tests/phpunit/tests/https-migration.php
- tests/phpunit/tests/post.php
- tests/phpunit/tests/post/nav-menu.php
- tests/phpunit/tests/rest-api/rest-application-passwords-controller.php
- tests/phpunit/tests/rest-api/rest-posts-controller.php
- tests/phpunit/tests/rest-api/rest-request.php
- tests/phpunit/tests/rest-api/rest-server.php
- tests/phpunit/tests/rest-api/rest-themes-controller.php
- tests/phpunit/tests/robots.php

---

Merges https://core.trac.wordpress.org/changeset/50284 / WordPress/wordpress-develop@3d259c2b22 to ClassicPress.

* Fix merge conflicts from backport of 50284

* WP-r51331: Build/Test Tools: Replace `assertInternalType()` usage in unit tests.

The `assertInternalType()` and `assertNotInternalType()` methods are deprecated in PHPUnit 8 and removed in PHPUnit 9.

While WordPress test suite currently only supports PHPUnit up to 7.5.x, this allows us to switch to newer assertions ahead of adding full support for PHPUnit 8+.

These methods introduced in PHPUnit 7.5 should be used as an alternative:

* `assertIsArray()`
* `assertIsBool()`
* `assertIsFloat()`
* `assertIsInt()`
* `assertIsNumeric()`
* `assertIsObject()`
* `assertIsResource()`
* `assertIsString()`
* `assertIsScalar()`
* `assertIsCallable()`
* `assertIsIterable()`
* `assertIsNotArray()`
* `assertIsNotBool()`
* `assertIsNotFloat()`
* `assertIsNotInt()`
* `assertIsNotNumeric()`
* `assertIsNotObject()`
* `assertIsNotResource()`
* `assertIsNotString()`
* `assertIsNotScalar()`
* `assertIsNotCallable()`
* `assertIsNotIterable()`

As WordPress currently uses PHPUnit 5.7.x to run tests on PHP 5.6, polyfills for these methods are now added to the `WP_UnitTestCase` class for PHPUnit < 7.5.

WP:Props pbearne, jrf, dd32, SergeyBiryukov.
Fixes https://core.trac.wordpress.org/ticket/53491. See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/tests/blocks/block-editor.php
- tests/phpunit/tests/blocks/render.php
- tests/phpunit/tests/bookmark/getBookmark.php
- tests/phpunit/tests/comment/metaCache.php
- tests/phpunit/tests/customize/manager.php
- tests/phpunit/tests/customize/nav-menu-setting.php
- tests/phpunit/tests/customize/nav-menus.php
- tests/phpunit/tests/date/currentTime.php
- tests/phpunit/tests/functions.php
- tests/phpunit/tests/functions/wpGetMimeTypes.php
- tests/phpunit/tests/functions/wpRemoteFopen.php
- tests/phpunit/tests/general/archives.php
- tests/phpunit/tests/http/base.php
- tests/phpunit/tests/http/functions.php
- tests/phpunit/tests/image/functions.php
- tests/phpunit/tests/image/intermediateSize.php
- tests/phpunit/tests/media.php
- tests/phpunit/tests/meta.php
- tests/phpunit/tests/multisite/cleanDirsizeCache.php
- tests/phpunit/tests/multisite/network.php
- tests/phpunit/tests/multisite/site.php
- tests/phpunit/tests/multisite/siteMeta.php
- tests/phpunit/tests/oembed/controller.php
- tests/phpunit/tests/option/multisite.php
- tests/phpunit/tests/post.php
- tests/phpunit/tests/post/formats.php
- tests/phpunit/tests/post/getPostTypeLabels.php
- tests/phpunit/tests/post/meta.php
- tests/phpunit/tests/post/objects.php
- tests/phpunit/tests/post/query.php
- tests/phpunit/tests/post/types.php
- tests/phpunit/tests/rest-api/rest-attachments-controller.php
- tests/phpunit/tests/rest-api/rest-comments-controller.php
- tests/phpunit/tests/rest-api/rest-request.php
- tests/phpunit/tests/rest-api/rest-term-meta-fields.php
- tests/phpunit/tests/rest-api/rest-users-controller.php
- tests/phpunit/tests/taxonomy.php
- tests/phpunit/tests/term.php
- tests/phpunit/tests/term/getTerm.php
- tests/phpunit/tests/term/getTheTerms.php
- tests/phpunit/tests/term/meta.php
- tests/phpunit/tests/term/termExists.php
- tests/phpunit/tests/term/wpGetObjectTerms.php
- tests/phpunit/tests/term/wpSetObjectTerms.php
- tests/phpunit/tests/user.php
- tests/phpunit/tests/user/multisite.php
- tests/phpunit/tests/widgets.php
- tests/phpunit/tests/xmlrpc/mw/getPost.php
- tests/phpunit/tests/xmlrpc/mw/getRecentPosts.php
- tests/phpunit/tests/xmlrpc/wp/getComment.php
- tests/phpunit/tests/xmlrpc/wp/getComments.php
- tests/phpunit/tests/xmlrpc/wp/getMediaItem.php
- tests/phpunit/tests/xmlrpc/wp/getOptions.php
- tests/phpunit/tests/xmlrpc/wp/getPage.php
- tests/phpunit/tests/xmlrpc/wp/getPost.php
- tests/phpunit/tests/xmlrpc/wp/getPostType.php
- tests/phpunit/tests/xmlrpc/wp/getTerm.php
- tests/phpunit/tests/xmlrpc/wp/getTerms.php
- tests/phpunit/tests/xmlrpc/wp/getUser.php
- tests/phpunit/tests/xmlrpc/wp/getUsers.php
- tests/phpunit/tests/xmlrpc/wp/newComment.php
- tests/phpunit/tests/xmlrpc/wp/uploadFile.php

---

Merges https://core.trac.wordpress.org/changeset/51331 / WordPress/wordpress-develop@bca693b190 to ClassicPress.

* Fix merge conflicts from backport of 51331

* WP-r51462: Tests: Replace `assertContains()` with `assertStringContainsString()` when used with strings.

Using the `assertContains()` and `assertNotContains()` methods with string haystacks was deprecated in PHPUnit 8 and removed in PHPUnit 9.

While WordPress test suite currently only supports PHPUnit up to 7.5.x, this allows us to switch to newer assertions ahead of adding full support for PHPUnit 8+.

These methods introduced in PHPUnit 7.5 should be used as an alternative:

* `assertStringContainsString()`
* `assertStringContainsStringIgnoringCase`
* `assertStringNotContainsString()`
* `assertStringNotContainsStringIgnoringCase`

As WordPress currently uses PHPUnit 5.7.x to run tests on PHP 5.6, polyfills for these methods were added to the `WP_UnitTestCase` class for PHPUnit < 7.5.

Follow-up to https://core.trac.wordpress.org/changeset/51331, https://core.trac.wordpress.org/changeset/51451, https://core.trac.wordpress.org/changeset/51461.

WP:Props jrf, dd32, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/53363, https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/tests/admin/includesListTable.php
- tests/phpunit/tests/admin/includesPost.php
- tests/phpunit/tests/admin/includesTemplate.php
- tests/phpunit/tests/admin/wpPrivacyRequestsTable.php
- tests/phpunit/tests/ajax/Compression.php
- tests/phpunit/tests/blocks/block-editor.php
- tests/phpunit/tests/blocks/render.php
- tests/phpunit/tests/category/wpDropdownCategories.php
- tests/phpunit/tests/category/wpListCategories.php
- tests/phpunit/tests/comment.php
- tests/phpunit/tests/comment/commentForm.php
- tests/phpunit/tests/comment/getCommentReplyLink.php
- tests/phpunit/tests/comment/query.php
- tests/phpunit/tests/customize/manager.php
- tests/phpunit/tests/db.php
- tests/phpunit/tests/formatting/MakeClickable.php
- tests/phpunit/tests/l10n.php
- tests/phpunit/tests/media.php
- tests/phpunit/tests/post/getTheContent.php
- tests/phpunit/tests/post/output.php
- tests/phpunit/tests/post/query.php
- tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php
- tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php
- tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php
- tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php
- tests/phpunit/tests/query/invalidQueries.php
- tests/phpunit/tests/query/postStatus.php
- tests/phpunit/tests/query/results.php
- tests/phpunit/tests/rest-api/rest-attachments-controller.php
- tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
- tests/phpunit/tests/rest-api/rest-categories-controller.php
- tests/phpunit/tests/rest-api/rest-comments-controller.php
- tests/phpunit/tests/rest-api/rest-posts-controller.php
- tests/phpunit/tests/rest-api/rest-revisions-controller.php
- tests/phpunit/tests/rest-api/rest-tags-controller.php
- tests/phpunit/tests/rest-api/rest-users-controller.php
- tests/phpunit/tests/robots.php
- tests/phpunit/tests/sitemaps/sitemaps.php
- tests/phpunit/tests/term/getTermLink.php
- tests/phpunit/tests/user.php
- tests/phpunit/tests/user/author.php
- tests/phpunit/tests/user/query.php
- tests/phpunit/tests/user/wpDropdownUsers.php
- tests/phpunit/tests/user/wpSendUserRequest.php
- tests/phpunit/tests/widgets.php
- tests/phpunit/tests/widgets/custom-html-widget.php
- tests/phpunit/tests/widgets/media-gallery-widget.php
- tests/phpunit/tests/widgets/media-image-widget.php
- tests/phpunit/tests/widgets/media-video-widget.php
- tests/phpunit/tests/widgets/text-widget.php
- tests/phpunit/tests/widgets/wpWidgetRss.php

---

Merges https://core.trac.wordpress.org/changeset/51462 / WordPress/wordpress-develop@c70fe62ed1 to ClassicPress.

* Fix merge conflicts from backport of 51462
This include array order changes in ests/phpunit/tests/query/results.php that I cannot explain

* WP-r51559: Build/Test Tools: Add Composer dependency on the PHPUnit Polyfills package.

The PHPUnit Polyfills package is an add-on for PHPUnit, which works around common issues for writing PHPUnit cross-version compatible tests.

Features:
* It offers a full set of polyfills for assertions and expectations introduced in PHPUnit since PHPUnit 4.8.
* It offers two generic TestCases which include these polyfills, but also solve the `void` return type issue for the fixtures methods.
* It offers a PHPUnit cross-version solution for the changes to the PHPUnit `TestListener` implementation.
* Supports PHPUnit 4.8 – current.
* Supports and is compatible with PHP 5.4 – current.

The package has no outside dependencies, other than PHPUnit, is actively maintained and endorsed by the maintainer of PHPUnit itself (the only package of its kind which has ever been endorsed).

WP:Props jrf, hellofromTonya, johnbillion, netweb, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- composer.json

---

Merges https://core.trac.wordpress.org/changeset/51559 / WordPress/wordpress-develop@8ebd8ec0e4 to ClassicPress.

* Fix merge conflicts from backport of 51559

* WP-r51560: Build/Test Tools: Unify the PHPUnit adapter TestCases.

This commit:
* Removes the PHPUnit 7 specific `TestCase`.
* Removes all existing polyfills from the PHPUnit 5.x `TestCase`.
* Imports all polyfill traits from the PHPUnit Polyfills package into the `WP_UnitTestCase` class and updates the DocBlock to reflect the actual function of the class.
 * Note: The list of polyfills needs to be verified and updated after each new release of the PHPUnit Polyfills package. Alternatively (recommended), one of the built-in `TestCase` classes from the PHPUnit Polyfills package can be used instead.

* Moves the `require` for the WP `abstract-testcase.php` to the `bootstrap.php` file.
* Adds a `require_once` for the PHPUnit Polyfills autoloader to the `bootstrap.php` file.
 * Note: while this isn't _strictly_ necessary when the tests are run via Composer, having the include in the bootstrap allows for the tests to also be run via a PHPUnit Phar, providing contributors with more flexibility.

Follow-up to https://core.trac.wordpress.org/changeset/51559.

WP:Props jrf, hellofromTonya, johnbillion, netweb, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/includes/bootstrap.php
- tests/phpunit/includes/phpunit7/testcase.php
- tests/phpunit/includes/testcase.php

---

Merges https://core.trac.wordpress.org/changeset/51560 / WordPress/wordpress-develop@47303b1f95 to ClassicPress.

* Fix merge conflicts from backport of 51560
Includes syntax fix for composer.json and import of class-mockobject-autoload.php

* WP-r51561: Build/Test Tools: Change the inheritance order of the abstract test classes.

As things were, the inheritance order of the abstract test classes was as follows:
{{{
WP_UnitTestCase (PHPUnit adapter layer)
    extends WP_UnitTestCase_Base (base test class)
        extends PHPUnit\Framework\TestCase (PHPUnit native class)
}}}

Concrete (child) test classes, as well as more specific abstract TestCases, are/were expected to extend the `WP_UnitTestCase`.

This order is not optimal as it means that the `WP_UnitTestCase_Base` class would not be able to benefit from any polyfills and/or shims in the PHPUnit adapter layer.

With that in mind, this commit changes the inheritance to:
{{{
WP_UnitTestCase (empty class, left in place to not break BC for plugin/theme integration tests)
    extends WP_UnitTestCase_Base (base test class)
        extends PHPUnit_Adapter_TestCase (PHPUnit adapter layer)
            extends PHPUnit\Framework\TestCase (PHPUnit native class)
}}}

The new order allows for the `WP_UnitTestCase_Base` to also benefit from the PHPUnit adapter layer.

For backward compatibility reasons the `WP_UnitTestCase`, which all test classes are (were) expected to extend, is left in place, though it is now an empty class and explicitly `abstract`.

Follow-up to https://core.trac.wordpress.org/changeset/51559, https://core.trac.wordpress.org/changeset/51560.

WP:Props jrf, hellofromTonya, johnbillion, netweb, SergeyBiryukov.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/includes/testcase.php

---

Merges https://core.trac.wordpress.org/changeset/51561 / WordPress/wordpress-develop@31a6cd2f78 to ClassicPress.

* Fix merge conflict from backport of 51561

* WP-r51562: Build/Test Tools: Simplify redundant PHPUnit shim for `setExpectedException()`.

PHPUnit 6 deprecated the `setExpectedException()` method in favor of the `expectException()`, `expectExceptionMessage()`, and `expectExceptionCode()` methods.

`WP_UnitTestCase_Base::setExpectedException()` backfilled the old method. As the PHPUnit Polyfills have a polyfill for the ''new'' method, this backfill can now be simplified.

This backfill ''should'' be removed in a future iteration, but is, for now, left in place so as not to break backward compatibility for plugin/theme test suites which extend the WP native test suite for their integration tests.

Follow-up to https://core.trac.wordpress.org/changeset/48996, https://core.trac.wordpress.org/changeset/48997, https://core.trac.wordpress.org/log/?revs=51559-51561.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/46149.

---

Merges https://core.trac.wordpress.org/changeset/51562 / WordPress/wordpress-develop@81461004d7 to ClassicPress.

* Fix document following backport of 51562

* WP-r51563: Tests: Replace `expectException()` for PHP native errors with calls to the dedicated PHPUnit 8.4+ methods.

The old manner of testing these is soft deprecated as of PHPUnit 8.4, hard deprecated as of PHPUnit 9.0 and will be removed in PHPUnit 10.0.

These dedicated methods introduced in PHPUnit 8.4 should be used as an alternative:

* `expectDeprecation()`
* `expectDeprecationMessage()`
* `expectDeprecationMessageMatches()`
* `expectNotice()`
* `expectNoticeMessage()`
* `expectNoticeMessageMatches()`
* `expectWarning()`
* `expectWarningMessage()`
* `expectWarningMessageMatches()`
* `expectError()`
* `expectErrorMessage()`
* `expectErrorMessageMatches()`

These new PHPUnit methods are all polyfilled by the PHPUnit Polyfills and switching to these will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/8.4.3/ChangeLog-8.4.mdhttps://core.trac.wordpress.org/ticket/840---2019-10-04
* https://github.com/sebastianbergmann/phpunit/issues/3775

Follow-up to https://core.trac.wordpress.org/log/?revs=51559-51562.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/tests/compat.php
- tests/phpunit/tests/dependencies/scripts.php
- tests/phpunit/tests/locale.php
- tests/phpunit/tests/rest-api/rest-block-directory-controller.php
- tests/phpunit/tests/rest-api/rest-plugins-controller.php
- tests/phpunit/tests/rest-api/rest-schema-sanitization.php
- tests/phpunit/tests/rest-api/rest-schema-validation.php

---

Merges https://core.trac.wordpress.org/changeset/51563 / WordPress/wordpress-develop@fe7295b860 to ClassicPress.

* Fix merge conflicts from backport of 51563
Includes change in tests/compat.php from expectDeprecation() to expectNotice() to ensure local tests are passing

* WP-r51564: Tests: Replace `assertFileNotExists()` with `assertFileDoesNotExist()`.

The `assertFileNotExists()` method was hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertFileDoesNotExist()` method was introduced as a replacement in PHPUnit 9.1.

This new PHPUnit method is polyfilled by the PHPUnit Polyfills and switching to it will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.mdhttps://core.trac.wordpress.org/ticket/910---2020-04-03
* https://github.com/sebastianbergmann/phpunit/issues/4076

Follow-up to https://core.trac.wordpress.org/log/?revs=51559-51563.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/tests/admin/includesPlugin.php
- tests/phpunit/tests/image/editorImagick.php
- tests/phpunit/tests/rest-api/rest-plugins-controller.php

---

Merges https://core.trac.wordpress.org/changeset/51564 / WordPress/wordpress-develop@29d678d08b to ClassicPress.

* Fix merge conflicts from backport of 51564

* WP-r51565: Tests: Replace `assertRegExp()` with `assertMatchesRegularExpression()`.

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.mdhttps://core.trac.wordpress.org/ticket/910---2020-04-03
* https://github.com/sebastianbergmann/phpunit/issues/4085
* https://github.com/sebastianbergmann/phpunit/issues/4088

Follow-up to https://core.trac.wordpress.org/log/?revs=51559-51564.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/tests/avatar.php
- tests/phpunit/tests/date/query.php
- tests/phpunit/tests/functions.php
- tests/phpunit/tests/post/nav-menu.php
- tests/phpunit/tests/post/template.php

---

Merges https://core.trac.wordpress.org/changeset/51565 / WordPress/wordpress-develop@457b7b3a61 to ClassicPress.

* Fix merge conflicts from backport of 51565

* WP-r51566: Tests: Replace `assertNotRegExp()` with `assertDoesNotMatchRegularExpression()`.

The `assertRegExp()` and `assertNotRegExp()` methods were hard deprecated in PHPUnit 9.1 and the functionality will be removed in PHPUnit 10.0.

The `assertMatchesRegularExpression()` and `assertDoesNotMatchRegularExpression()` methods were introduced as a replacement in PHPUnit 9.1.

These new PHPUnit methods are polyfilled by the PHPUnit Polyfills and switching to them will future-proof the tests some more.

References:
* https://github.com/sebastianbergmann/phpunit/blob/9.1.5/ChangeLog-9.1.mdhttps://core.trac.wordpress.org/ticket/910---2020-04-03
* https://github.com/sebastianbergmann/phpunit/issues/4085
* https://github.com/sebastianbergmann/phpunit/issues/4088

Follow-up to https://core.trac.wordpress.org/log/?revs=51559-51565.

WP:Props jrf.
See https://core.trac.wordpress.org/ticket/46149.

Conflicts:
- tests/phpunit/tests/post/nav-menu.php
- tests/phpunit/tests/post/template.php

---

Merges https://core.trac.wordpress.org/changeset/51566 / WordPress/wordpress-develop@ee2770bda5 to ClassicPress.

* Fix merge conflicts from backport of 51566

* WP-r51567: Build/Test Tools: Use the PHPUnit Polyfill TestCase as `void` workaround.

> PHPUnit 8.0.0 introduced a `void` return type declaration to the "fixture" methods – `setUpBeforeClass()`, `setUp()`, `tearDown()` and `tearDownAfterClass()`. As the `void` return type was not introduced until PHP 7.1, this makes it more difficult to create cross-version compatible tests when using fixtures, due to signature mismatches.
>
> The `Yoast\PHPUnitPolyfills\TestCases\TestCase` overcomes the signature mismatch by having two versions. The correct one will be loaded depending on the PHPUnit version being used.
>
> When using this TestCase, if an individual test, or another TestCase which extends this TestCase, needs to overload any of the "fixture" methods, it should do so by using a snake_case variant of the original fixture method name, i.e. `set_up_before_class()`, `set_up()`, `assert_pre_conditions()`, `assert_post_conditions()`, `tear_down()`, and `tear_down_after_class()`.
>
> The snake_case methods will automatically be called by PHPUnit.
>
> > IMPORTANT: The snake_case methods should not call the PHPUnit parent, i.e. do not use `parent::setUp()` from within an overloaded `…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/assertion Issues related to assertions and expectations type/enhancement A new idea that should be implemented
Projects
None yet
Development

No branches or pull requests

1 participant