File: mysqli-tls.xml

package info (click to toggle)
php-doctrine-dbal 4.3.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,092 kB
  • sloc: php: 60,293; xml: 618; makefile: 23
file content (43 lines) | stat: -rw-r--r-- 1,574 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="../../../vendor/phpunit/phpunit/phpunit.xsd"
         colors="true"
         beStrictAboutOutputDuringTests="true"
         failOnRisky="true"
         failOnWarning="true"
         failOnNotice="true"
         failOnPhpunitDeprecation="true"
         displayDetailsOnTestsThatTriggerErrors="true"
         displayDetailsOnTestsThatTriggerDeprecations="true"
>
    <php>
        <ini name="error_reporting" value="-1" />

        <var name="db_driver" value="mysqli"/>
        <var name="db_host" value="127.0.0.1"/>
        <var name="db_port" value="3306"/>
        <var name="db_ssl_ca" value="ca.pem"/>
        <var name="db_ssl_cert" value="client-cert.pem"/>
        <var name="db_ssl_key" value="client-key.pem"/>
        <var name="db_charset" value="utf8mb4" />

        <!-- Use MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT since there's no way to generate a certificate
        with a proper common name (CN) on the CI. This flag must be not used in production settings. -->
        <var name="db_driver_option_flags" value="64"/>

        <var name="db_user" value="root"/>
        <var name="db_dbname" value="doctrine_tests"/>
    </php>

    <testsuites>
        <testsuite name="Doctrine DBAL Test Suite">
            <directory>../../../tests</directory>
        </testsuite>
    </testsuites>

    <source>
        <include>
            <directory>../../../src</directory>
        </include>
    </source>
</phpunit>