Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Fix Navigation test to pass
Browse files Browse the repository at this point in the history
- Changed Request\Http to Request\HTTP in MvcTest
  • Loading branch information
weierophinney committed Jun 21, 2010
2 parents 36534da + b306c72 commit a22d6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Page/MvcTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function setUp()
$this->_oldRouter = $this->_front->getRouter();

$this->_front->resetInstance();
$this->_front->setRequest(new Request\Http());
$this->_front->setRequest(new Request\HTTP());
$this->_front->getRouter()->addDefaultRoutes();
}

Expand All @@ -60,7 +60,7 @@ protected function tearDown()
if (null !== $this->_oldRequest) {
$this->_front->setRequest($this->_oldRequest);
} else {
$this->_front->setRequest(new Request\Http());
$this->_front->setRequest(new Request\HTTP());
}
$this->_front->setRouter($this->_oldRouter);
}
Expand Down

0 comments on commit a22d6e2

Please sign in to comment.