Ticket #10706: strict-force-ssl-test.diff
| File strict-force-ssl-test.diff, 863 bytes (added by , 16 years ago) |
|---|
-
wp-testcase/test_includes_functions.php
108 108 109 109 110 110 function test_wp_unique_filename() { 111 $this->knownWPBug(6294); 111 $this->knownWPBug(6294); 112 112 113 113 /* this test requires: 114 114 - that you have dir + file 'wp-testdata/images/test-image.png', … … 238 238 unlink($testdir . $expected[$key]); 239 239 } 240 240 } 241 242 function test_force_ssl_admin() { 243 force_ssl_admin( true ); 244 $this->assertTrue( force_ssl_admin() ); 245 force_ssl_admin( false ); 246 $this->assertFalse( force_ssl_admin() ); 247 force_ssl_admin( true ); 248 $this->assertTrue( force_ssl_admin() ); 249 force_ssl_admin( false ); 250 $this->assertFalse( force_ssl_admin() ); 251 } 241 252 242 253 } 243 254