Skip to content

Commit

Permalink
modify base test
Browse files Browse the repository at this point in the history
  • Loading branch information
aslubsky committed Nov 13, 2013
1 parent b1d7f6b commit 69277b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Bazalt/Rest/Test/BaseCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ abstract class BaseCase extends \PHPUnit_Framework_TestCase
{
protected $app;

protected function initApp($files)
{
$config = array(
'load' => $files
);
$this->app = new \Tonic\Application($config);
}

public function send($request, $options= array())
{
list($method, $uri) = explode(' ', $request);
Expand Down

0 comments on commit 69277b2

Please sign in to comment.