- Timestamp:
- 03/15/2019 12:15:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-network.php
r42343 r44903 13 13 class WP_UnitTest_Factory_For_Network extends WP_UnitTest_Factory_For_Thing { 14 14 15 function __construct( $factory = null ) {15 public function __construct( $factory = null ) { 16 16 parent::__construct( $factory ); 17 17 $this->default_generation_definitions = array( … … 24 24 } 25 25 26 function create_object( $args ) {26 public function create_object( $args ) { 27 27 require_once ABSPATH . 'wp-admin/includes/upgrade.php'; 28 28 … … 37 37 } 38 38 39 function update_object( $network_id, $fields ) {}39 public function update_object( $network_id, $fields ) {} 40 40 41 function get_object_by_id( $network_id ) {41 public function get_object_by_id( $network_id ) { 42 42 return get_network( $network_id ); 43 43 }
Note: See TracChangeset
for help on using the changeset viewer.