Skip to content

Commit 790ef4f

Browse files
Majkl578morozov
authored andcommitted
Borrowed MySQL in Docker configuration from #3407
1 parent 761ac08 commit 790ef4f

File tree

2 files changed

+98
-0
lines changed

2 files changed

+98
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
4+
colors="true"
5+
beStrictAboutOutputDuringTests="true"
6+
beStrictAboutTodoAnnotatedTests="true"
7+
failOnRisky="true"
8+
failOnWarning="true"
9+
>
10+
<php>
11+
<ini name="error_reporting" value="-1" />
12+
13+
<var name="db_type" value="pdo_mysql"/>
14+
<var name="db_host" value="127.0.0.1" />
15+
<var name="db_username" value="root" />
16+
<var name="db_password" value="" />
17+
<var name="db_name" value="doctrine_tests" />
18+
<var name="db_port" value="33306"/>
19+
20+
<var name="tmpdb_type" value="pdo_mysql"/>
21+
<var name="tmpdb_host" value="127.0.0.1" />
22+
<var name="tmpdb_username" value="root" />
23+
<var name="tmpdb_password" value="" />
24+
<var name="tmpdb_port" value="33306"/>
25+
</php>
26+
27+
<testsuites>
28+
<testsuite name="Doctrine DBAL Test Suite">
29+
<directory>../Doctrine/Tests/DBAL</directory>
30+
</testsuite>
31+
</testsuites>
32+
33+
<filter>
34+
<whitelist>
35+
<directory suffix=".php">../../lib/Doctrine</directory>
36+
</whitelist>
37+
</filter>
38+
39+
<listeners>
40+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
41+
</listeners>
42+
43+
<groups>
44+
<exclude>
45+
<group>performance</group>
46+
<group>locking_functional</group>
47+
</exclude>
48+
</groups>
49+
</phpunit>
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
4+
colors="true"
5+
beStrictAboutOutputDuringTests="true"
6+
beStrictAboutTodoAnnotatedTests="true"
7+
failOnRisky="true"
8+
failOnWarning="true"
9+
>
10+
<php>
11+
<ini name="error_reporting" value="-1" />
12+
13+
<var name="db_type" value="mysqli"/>
14+
<var name="db_host" value="127.0.0.1" />
15+
<var name="db_username" value="root" />
16+
<var name="db_password" value="" />
17+
<var name="db_name" value="doctrine_tests" />
18+
<var name="db_port" value="33306"/>
19+
20+
<var name="tmpdb_type" value="mysqli"/>
21+
<var name="tmpdb_host" value="127.0.0.1" />
22+
<var name="tmpdb_username" value="root" />
23+
<var name="tmpdb_password" value="" />
24+
<var name="tmpdb_port" value="33306"/>
25+
</php>
26+
27+
<testsuites>
28+
<testsuite name="Doctrine DBAL Test Suite">
29+
<directory>../Doctrine/Tests/DBAL</directory>
30+
</testsuite>
31+
</testsuites>
32+
33+
<filter>
34+
<whitelist>
35+
<directory suffix=".php">../../lib/Doctrine</directory>
36+
</whitelist>
37+
</filter>
38+
39+
<listeners>
40+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
41+
</listeners>
42+
43+
<groups>
44+
<exclude>
45+
<group>performance</group>
46+
<group>locking_functional</group>
47+
</exclude>
48+
</groups>
49+
</phpunit>

0 commit comments

Comments
 (0)