Tests: Fix typo in one of wp_resource_hints() test method names.

Add `@ticket` reference.

Follow-up to [38100].

See #51802.

git-svn-id: https://develop.svn.wordpress.org/trunk@50392 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-20 09:52:14 +00:00
parent c8bbd79d2d
commit 77a7160821

View File

@ -183,7 +183,10 @@ class Tests_General_wpResourceHints extends WP_UnitTestCase {
$this->assertSame( $expected, $actual );
}
function test_dns_prefetch_scripts_does_not_included_registered_only() {
/**
* @ticket 37385
*/
function test_dns_prefetch_scripts_does_not_include_registered_only() {
$expected = "<link rel='dns-prefetch' href='//s.w.org' />\n";
$unexpected = "<link rel='dns-prefetch' href='//wordpress.org' />\n";