-
Notifications
You must be signed in to change notification settings - Fork 121
/
phpunit.xml.dist
50 lines (43 loc) · 2.2 KB
/
phpunit.xml.dist
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
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="KERNEL_CLASS" value="KejawenLab\Application\SemartHris\Kernel" />
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="1" />
<env name="APP_SECRET" value="s$cretf0rt3st" />
<!-- define your env variables for the test env here -->
<!-- ###+ SEMARTHRIS ### -->
<env name="SEMART_DATE_FORMAT" value="d-m-Y"/>
<!-- ###- SEMARTHRIS ### -->
<!-- ###+ symfony/framework-bundle ### -->
<env name="APP_ENV" value="dev"/>
<env name="APP_DEBUG" value="1"/>
<env name="APP_SECRET" value="4efba7d5fc98633bc4bf412b0c531499"/>
<!-- ###- symfony/framework-bundle ### -->
<!-- ###+ doctrine/doctrine-bundle ### -->
<!-- Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url -->
<!-- For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" -->
<!-- Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls -->
<env name="DATABASE_URL" value="mysql://db_user:db_password@127.0.0.1:3306/db_name?charset=utf8mb4&serverVersion=5.7"/>
<!-- ###- doctrine/doctrine-bundle ### -->
<!-- ###+ nelmio/cors-bundle ### -->
<env name="CORS_ALLOW_ORIGIN" value="^https?://localhost:?[0-9]*$"/>
<!-- ###- nelmio/cors-bundle ### -->
<!-- ###+ snc/redis-bundle ### -->
<!-- passwords that contain special characters (@, %, :, +) must be urlencoded -->
<env name="REDIS_URL" value="redis://localhost"/>
<!-- ###- snc/redis-bundle ### -->
</php>
<testsuites>
<testsuite name="SemartHris Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
</phpunit>