Changeset 51568 for trunk/tests/phpunit/tests/shortcode.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/shortcode.php
r50501 r51568 7 7 protected $shortcodes = array( 'test-shortcode-tag', 'footag', 'bartag', 'baztag', 'dumptag', 'hyphen', 'hyphen-foo', 'hyphen-foo-bar', 'url', 'img' ); 8 8 9 function set Up() {10 parent::set Up();9 function set_up() { 10 parent::set_up(); 11 11 12 12 foreach ( $this->shortcodes as $shortcode ) { … … 20 20 } 21 21 22 function tear Down() {22 function tear_down() { 23 23 global $shortcode_tags; 24 24 foreach ( $this->shortcodes as $shortcode ) { 25 25 unset( $shortcode_tags[ $shortcode ] ); 26 26 } 27 parent::tear Down();27 parent::tear_down(); 28 28 } 29 29
Note: See TracChangeset
for help on using the changeset viewer.