Skip to content

Commit

Permalink
better test description
Browse files Browse the repository at this point in the history
This appears to be the actual intent of this test
  • Loading branch information
AD7six committed Nov 3, 2014
1 parent bc8d224 commit c6d361e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -311,11 +311,11 @@ public function testViewClassMap() {
}

/**
* testDisabling method
* Verify that isAjax is set on the request params for ajax requests
*
* @return void
*/
public function testDisabling() {
public function testIsAjaxParams() {
$this->request->env('HTTP_X_REQUESTED_WITH', 'XMLHttpRequest');
$event = new Event('Controller.startup', $this->Controller);
$this->RequestHandler->initialize([]);
Expand Down

0 comments on commit c6d361e

Please sign in to comment.