Changeset 30277 for trunk/tests/phpunit/tests/canonical/https.php
- Timestamp:
- 11/08/2014 07:28:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/https.php
r30160 r30277 1 1 <?php 2 3 require_once dirname( dirname( __FILE__ ) ) . '/canonical.php';4 2 5 3 /** … … 8 6 * @group query 9 7 */ 10 class Tests_Canonical_HTTPS extends Tests_Canonical { 8 class Tests_Canonical_HTTPS extends WP_Canonical_UnitTestCase { 9 function setUp() { 10 global $wp_rewrite; 11 11 12 function setUp() {13 12 parent::setUp(); 13 14 $wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); 15 create_initial_taxonomies(); 16 $wp_rewrite->flush_rules(); 17 $wp_rewrite->init(); 18 14 19 $this->http = set_url_scheme( home_url( 'sample-page/' ), 'http' ); 15 20 $this->https = set_url_scheme( home_url( 'sample-page/' ), 'https' );
Note: See TracChangeset
for help on using the changeset viewer.