Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/08/2015 09:44:45 PM (8 years ago)
Author:
johnjamesjacoby
Message:

s/else if/elseif/ for unit tests. See #6097.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/define-constants.php

    r8958 r9316  
    4040    define( 'WP_TESTS_CONFIG_PATH', WP_ROOT_DIR . '/wp-tests-config.php' );
    4141
    42 } else if ( file_exists( WP_TESTS_DIR . '/wp-tests-config.php' ) ) {
     42} elseif ( file_exists( WP_TESTS_DIR . '/wp-tests-config.php' ) ) {
    4343    // Legacy unit-test.svn.wordpress.org setup
    4444    define( 'WP_TESTS_CONFIG_PATH', WP_TESTS_DIR . '/wp-tests-config.php' );
    4545
    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' ) ) {
    4747    // Environment variable exists and points to tests/phpunit of
    4848    // develop.svn.wordpress.org setup
Note: See TracChangeset for help on using the changeset viewer.