Changeset 51641
- Timestamp:
- 08/19/2021 01:59:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/wpCommunityEvents.php
r51639 r51641 28 28 29 29 /** 30 * Performs setup tasks before the first test is run. 31 * 32 * @since 5.9.0 33 */ 34 public static function set_up_before_class() { 35 parent::set_up_before_class(); 36 37 require_once ABSPATH . 'wp-admin/includes/class-wp-community-events.php'; 38 } 39 40 /** 30 41 * Performs setup tasks for every test. 31 42 * … … 34 45 public function set_up() { 35 46 parent::set_up(); 36 37 require_once ABSPATH . 'wp-admin/includes/class-wp-community-events.php';38 47 39 48 $this->instance = new WP_Community_Events( 1, $this->get_user_location() );
Note: See TracChangeset
for help on using the changeset viewer.