Browse Source

added bootstrap file for starting session

master
Anton Grebnev 13 years ago
parent
commit
2cb0e0441f
  1. 6
      tests/bootstrap.php
  2. 3
      tests/phpunit.xml

6
tests/bootstrap.php

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

3
tests/phpunit.xml

@ -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"

Loading…
Cancel
Save