Changeset 9316
- Timestamp:
- 01/08/2015 09:44:45 PM (11 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 2 edited
-
includes/define-constants.php (modified) (1 diff)
-
testcases/core/avatars.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/define-constants.php
r8958 r9316 40 40 define( 'WP_TESTS_CONFIG_PATH', WP_ROOT_DIR . '/wp-tests-config.php' ); 41 41 42 } else if ( file_exists( WP_TESTS_DIR . '/wp-tests-config.php' ) ) {42 } elseif ( file_exists( WP_TESTS_DIR . '/wp-tests-config.php' ) ) { 43 43 // Legacy unit-test.svn.wordpress.org setup 44 44 define( 'WP_TESTS_CONFIG_PATH', WP_TESTS_DIR . '/wp-tests-config.php' ); 45 45 46 } else if ( file_exists( dirname( dirname( WP_TESTS_DIR ) ) . '/wp-tests-config.php' ) ) {46 } elseif ( file_exists( dirname( dirname( WP_TESTS_DIR ) ) . '/wp-tests-config.php' ) ) { 47 47 // Environment variable exists and points to tests/phpunit of 48 48 // develop.svn.wordpress.org setup -
trunk/tests/phpunit/testcases/core/avatars.php
r9275 r9316 25 25 if ( 'user' === $type ) { 26 26 $avatar_dir = 'avatars'; 27 } else if ( 'group' === $object ) {27 } elseif ( 'group' === $object ) { 28 28 $avatar_dir = 'group-avatars'; 29 29 } … … 160 160 if ( empty( $bp->grav_default->{$this->params['object']} ) ) { 161 161 $default_grav = 'wavatar'; 162 } else if ( 'mystery' == $bp->grav_default->{$this->params['object']} ) {162 } elseif ( 'mystery' == $bp->grav_default->{$this->params['object']} ) { 163 163 $default_grav = apply_filters( 'bp_core_mysteryman_src', 'mm', $this->params['width'] ); 164 164 } else {
Note: See TracChangeset
for help on using the changeset viewer.