From cf84ec6a30abd1771926b5600fd7d3e7b9d3761c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 24 Jul 2017 10:02:52 +0000 Subject: [PATCH] Tests: Fix typo in `Tests_Functions_AllowedProtocols::data_example_urls()`. Props redrambles. Fixes #41415. git-svn-id: https://develop.svn.wordpress.org/trunk@41124 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/functions/allowedProtocols.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/functions/allowedProtocols.php b/tests/phpunit/tests/functions/allowedProtocols.php index 16540c72d9..5b32972cc7 100644 --- a/tests/phpunit/tests/functions/allowedProtocols.php +++ b/tests/phpunit/tests/functions/allowedProtocols.php @@ -39,7 +39,7 @@ class Tests_Functions_AllowedProtocols extends WP_UnitTestCase { function data_example_urls() { return array( array( 'http', 'http://example.com' ), // RFC7230 - array( 'https', 'http://example.com' ), // RFC7230 + array( 'https', 'https://example.com' ), // RFC7230 array( 'ftp', 'ftp://example.com' ), // RFC1738 array( 'ftps', 'ftps://example.com' ), array( 'mailto', 'mailto://someone@example.com' ), // RFC6068