Changeset 42812
- Timestamp:
- 03/09/2018 01:09:17 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/link/themeFile.php
r42343 r42812 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 ( ! @symlink( DIR_TESTDATA . '/theme-file-parent', WP_CONTENT_DIR . '/themes/theme-file-parent' ) ) { 9 self::markTestSkipped( 'Could not create parent symlink.' ); 10 } 11 if ( ! @symlink( DIR_TESTDATA . '/theme-file-child', WP_CONTENT_DIR . '/themes/theme-file-child' ) ) { 12 self::markTestSkipped( 'Could not create child symlink.' ); 13 } 10 14 } 11 15
Note: See TracChangeset
for help on using the changeset viewer.