mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
c8bbd79d2d
commit
77a7160821
@ -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";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user