Remove unit test for is_https_url()
, see [29309].
see #28487. git-svn-id: https://develop.svn.wordpress.org/trunk@29310 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
080f52ceb9
commit
0f93a72879
@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Test is_https_url().
|
||||
*
|
||||
* @group functions.php
|
||||
* @ticket 28487
|
||||
*/
|
||||
class Tests_Functions_IsHttpsUrl extends WP_UnitTestCase {
|
||||
|
||||
function test_is_https_url() {
|
||||
|
||||
$this->assertTrue( is_https_url( 'https://example.com/' ) );
|
||||
$this->assertTrue( is_https_url( 'https://localhost/' ) );
|
||||
|
||||
$this->assertFalse( is_https_url( 'http://example.com' ) );
|
||||
$this->assertFalse( is_https_url( 'Hello World!' ) );
|
||||
$this->assertFalse( is_https_url( 'httpsinvalid' ) );
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user