Changeset 9455 for trunk/tests/phpunit/testcases/core/avatars.php
- Timestamp:
- 02/09/2015 09:25:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/avatars.php
r9381 r9455 152 152 // This test has the slight odor of hokum since it recreates so much code that could be changed at any time. 153 153 $bp = buddypress(); 154 // Set host based on if using ssl 155 $host = 'http://gravatar.com/avatar/'; 156 if ( is_ssl() ) { 157 $host = 'https://secure.gravatar.com/avatar/'; 158 } 154 $host = '//www.gravatar.com/avatar/'; 155 159 156 // Set expected gravatar type 160 157 if ( empty( $bp->grav_default->{$this->params['object']} ) ) {
Note: See TracChangeset
for help on using the changeset viewer.