function test_ignores_but_preserves_https_value()
 {
     $non_https_site_url = site_url();
     $this->assertTrue(!!preg_match('/^http:/', site_url()));
     $_SERVER['HTTPS'] = 'on';
     $this->assertTrue(!!preg_match('/^https:/', site_url()));
     $this->assertEquals($non_https_site_url, Jetpack_Sync_Functions::preserve_scheme('siteurl', 'site_url'));
     $this->assertEquals($_SERVER['HTTPS'], 'on');
     unset($_SERVER['HTTPS']);
 }