server/src/phpunit.xml
author ymh <ymh.work@gmail.com>
Tue, 19 Jan 2016 19:18:34 +0100
changeset 109 d22ed5792f8e
parent 4 f55970e41793
child 405 f239c8c5bb94
permissions -rw-r--r--
Correct transaction management. cf. bug https://openrdf.atlassian.net/browse/SES-2295 and tomcat default management of PUT request with form data (application/x-www-form-urlencoded encoded)

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false">
    <testsuites>
        <testsuite name="Application Test Suite">
            <directory>./tests/</directory>
        </testsuite>
        <!--testsuite name="Application Test Suite Repositories">
            <directory>./tests/Repositories</directory>
        </testsuite>
        <testsuite name="Application Test Suite Models">
            <directory>./tests/Models</directory>
        </testsuite>
        <testsuite name="Application Test Suite Controllers">
            <directory>./tests/Controllers</directory>
        </testsuite>
        <testsuite name="Application Test Suite Libraries">
            <directory>./tests/Libraries/Sparql</directory>
        </testsuite-->
    </testsuites>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="DATABASE_DRIVER" value="pgsql_test"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
        <env name="CORPUSPAROLE_SESAME_REPOSITORY" value="cocoon_test"/>
    </php>
</phpunit>