Make autoload work for phpunit tests

This commit is contained in:
Stefan Vetsch 2015-03-14 10:59:21 +01:00
parent 68514c11c2
commit ae21dd0f56
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<phpunit> <phpunit bootstrap="tests/bootstrap.php">
<testsuites> <testsuites>
<testsuite name="Serialization"> <testsuite name="Serialization">
<file>tests/suite.php</file> <file>tests/suite.php</file>

2
tests/bootstrap.php Normal file
View File

@ -0,0 +1,2 @@
<?php
require dirname(__FILE__) . '/../vendor/autoload.php';