1: <?php
2: require_once(__DIR__."/../../bootstrap/bootstrap.php");
3: require_once(__DIR__."/../../vendor/autoload.php");
4:
5: class TestCase extends PHPUnit_Framework_TestCase
6: {
7: protected $app = null;
8:
9: public function setUp()
10: {
11: $this->app = require(__DIR__."/../../bootstrap/app.php");
12:
13:
14: $this->app['session.driver'] = new Azalea\Core\Session\ArraySessionHandler();
15:
16:
17: $this->app->start();
18:
19:
20:
21: }
22:
23: public function tearDown()
24: {
25: $this->app = null;
26: }
27: }
28:
29: ?>
30: