WordPress.org

Make WordPress Core

Changeset 967 in tests for trunk/tests/ajax/TagSearch.php


Ignore:
Timestamp:
08/13/2012 09:07:27 PM (9 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/ajax/TagSearch.php

    r924 r967  
    5353            unset( $e );
    5454        }
    55        
     55
    5656        // Ensure we found the right match
    5757        $this->assertEquals( $this->_last_response, 'chattels' );
     
    9494            unset( $e );
    9595        }
    96        
     96
    9797        // Ensure we found the right match
    9898        $this->assertEquals( $this->_last_response, 'chattels' );
     
    106106        // Log out
    107107        wp_logout();
    108        
     108
    109109        // Set up a default request
    110110        $_GET['tax'] = 'post_tag';
     
    113113        // Make the request
    114114        $this->setExpectedException( 'WPAjaxDieStopException', '-1' );
    115         $this->_handleAjax( 'ajax-tag-search' );       
     115        $this->_handleAjax( 'ajax-tag-search' );
    116116    }
    117117
     
    130130        // Make the request
    131131        $this->setExpectedException( 'WPAjaxDieStopException', '0' );
    132         $this->_handleAjax( 'ajax-tag-search' );       
     132        $this->_handleAjax( 'ajax-tag-search' );
    133133    }
    134    
     134
    135135    /**
    136136     * Test as an unprivileged user
     
    147147        // Make the request
    148148        $this->setExpectedException( 'WPAjaxDieStopException', '-1' );
    149         $this->_handleAjax( 'ajax-tag-search' );       
     149        $this->_handleAjax( 'ajax-tag-search' );
    150150    }
    151151
Note: See TracChangeset for help on using the changeset viewer.