- Timestamp:
- 08/13/2022 08:58:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/class-bp-attachment.php
r13175 r13314 11 11 private $image_file; 12 12 13 public function set Up() {14 parent::set Up();13 public function set_up() { 14 parent::set_up(); 15 15 add_filter( 'bp_attachment_upload_overrides', array( $this, 'filter_overrides' ), 10, 1 ); 16 16 add_filter( 'upload_dir', array( $this, 'filter_upload_dir' ), 20, 1 ); … … 21 21 } 22 22 23 public function tear Down() {24 parent::tear Down();23 public function tear_down() { 24 parent::tear_down(); 25 25 remove_filter( 'bp_attachment_upload_overrides', array( $this, 'filter_overrides' ), 10 ); 26 26 remove_filter( 'upload_dir', array( $this, 'filter_upload_dir' ), 20 );
Note: See TracChangeset
for help on using the changeset viewer.