Changeset 833 in tests for trunk/wp-testcase/test-ajax-actions/test_admin_ajax_tag_search.php
- Timestamp:
- 07/01/2012 06:30:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-testcase/test-ajax-actions/test_admin_ajax_tag_search.php
r733 r833 1 1 <?php 2 3 /**4 * Get WPAjaxTestCase class5 */6 require_once( DIR_TESTCASE . '/test_admin_includes_ajax_actions.php' );7 2 8 3 /** … … 19 14 * @group Ajax 20 15 */ 21 class TestAjaxTagSearch extends WPAjaxTestCase { 16 class TestAjaxTagSearch extends WP_Ajax_UnitTestCase { 17 18 /** 19 * List of terms to insert on setup 20 * @var array 21 */ 22 private $_terms = array( 23 'chattels', 'depo', 'energumen', 'figuriste', 'habergeon', 'impropriation' 24 ); 25 26 /** 27 * Setup 28 * @todo use a term factory 29 */ 30 public function setUp() { 31 parent::setUp(); 32 33 foreach ( $this->_terms as $term ) 34 wp_insert_term( $term, 'post_tag' ); 35 } 22 36 23 37 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)