<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         bootstrap="vendor/autoload.php"
>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>

    <testsuites>
        <testsuite name="FreeDSx LDAP Unit Tests">
            <directory>./tests/unit</directory>
        </testsuite>
    </testsuites>

    <php>
        <env name="LDAP_SERVER" value="example.com"/>
        <env name="LDAP_USERNAME" value="cn=admin,dc=example,dc=com"/>
        <env name="LDAP_PASSWORD" value="P@ssword12345"/>
        <env name="LDAP_BASE_DN" value="ou=FreeDSx-Test,dc=example,dc=com"/>
        <env name="LDAP_PORT" value="389"/>
        <env name="LDAP_CA_CERT" value=""/>
    </php>

</phpunit>

<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         bootstrap="vendor/autoload.php"
>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>

    <testsuites>
        <testsuite name="FreeDSx LDAP Unit Tests">
            <directory>./tests/integration</directory>
        </testsuite>
    </testsuites>

    <php>
        <env name="LDAP_SERVER" value="example.com"/>
        <env name="LDAP_USERNAME" value="cn=admin,dc=example,dc=com"/>
        <env name="LDAP_PASSWORD" value="P@ssword12345"/>
        <env name="LDAP_BASE_DN" value="ou=FreeDSx-Test,dc=example,dc=com"/>
        <env name="LDAP_PORT" value="389"/>
        <env name="LDAP_CA_CERT" value=""/>
    </php>

</phpunit>

Update the integration test directory path.
Update the integration test directory path.
