Add test for each whitelisted URI protocol in wp_allowed_protocols().

Move test from [25301] to the new file.

Fixes #38198.

git-svn-id: https://develop.svn.wordpress.org/trunk@38685 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2016-09-30 13:12:00 +00:00
parent 335cb0223f
commit 5273c469d8
2 changed files with 61 additions and 7 deletions
-7
View File
@@ -501,13 +501,6 @@ class Tests_Functions extends WP_UnitTestCase {
);
}
/**
* @ticket 19354
*/
function test_data_is_not_an_allowed_protocol() {
$this->assertNotContains( 'data', wp_allowed_protocols() );
}
/**
* @ticket 9064
*/