Changeset 43866
- Timestamp:
- 11/05/2018 02:46:14 AM (7 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/link/themeFile.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
- Property svn:mergeinfo changed
/trunk merged: 42812,42819
- Property svn:mergeinfo changed
-
branches/5.0/tests/phpunit/tests/link/themeFile.php
r39918 r43866 6 6 7 7 public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) { 8 symlink( DIR_TESTDATA . '/theme-file-parent', WP_CONTENT_DIR . '/themes/theme-file-parent' ); 9 symlink( DIR_TESTDATA . '/theme-file-child', WP_CONTENT_DIR . '/themes/theme-file-child' ); 8 if ( ! function_exists( 'symlink' ) ) { 9 self::markTestSkipped( 'symlink() is not available.' ); 10 } 11 if ( ! @symlink( DIR_TESTDATA . '/theme-file-parent', WP_CONTENT_DIR . '/themes/theme-file-parent' ) ) { 12 self::markTestSkipped( 'Could not create parent symlink.' ); 13 } 14 if ( ! @symlink( DIR_TESTDATA . '/theme-file-child', WP_CONTENT_DIR . '/themes/theme-file-child' ) ) { 15 self::markTestSkipped( 'Could not create child symlink.' ); 16 } 10 17 } 11 18
Note: See TracChangeset
for help on using the changeset viewer.