Skip to content

Commit

Permalink
bug fix to route test
Browse files Browse the repository at this point in the history
  • Loading branch information
danrwalker committed Mar 18, 2016
1 parent ca45078 commit 64923b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Core/Utilities/Routes.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ class Routes extends \PHPUnit_Framework_TestCase{

public function testViewRequest(){

file_put_contents(TWIST_APP_VIEWS.'test.tpl','test');

//Capture and test the resulting output
$_SERVER['REQUEST_URI'] = '/test';
$_SERVER['REQUEST_METHOD'] = 'GET';
Expand Down

0 comments on commit 64923b2

Please sign in to comment.