added bootstrap file for starting session

This commit is contained in:
Anton Grebnev
2011-10-14 13:49:59 +04:00
parent c62272c8bc
commit 2cb0e0441f
2 changed files with 8 additions and 1 deletions

6
tests/bootstrap.php Normal file
View File

@ -0,0 +1,6 @@
<?php
require_once dirname(__FILE__) . '/../session/Session.php';
Session::start();
?>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
<phpunit bootstrap="bootstrap.php"
backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"