-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
33 lines (33 loc) · 1.35 KB
/
Copy pathphpunit.xml
File metadata and controls
33 lines (33 loc) · 1.35 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
defaultTestSuite="Feature"
>
<!--
defaultTestSuite="Feature" keeps the default phpunit run hermetic.
The Integration suite hits live external APIs (OpenAI) and is opt-in,
run it explicitly with the "testsuite Integration" or "group integration"
CLI options.
-->
<testsuites>
<testsuite name="Feature">
<directory>tests/Feature</directory>
<exclude>tests/Feature/OpenAiIntegrationTest.php</exclude>
</testsuite>
<testsuite name="Integration">
<file>tests/Feature/OpenAiIntegrationTest.php</file>
</testsuite>
</testsuites>
<php>
<env name="APP_KEY" value="base64:dGVzdGtleXRlc3RrZXl0ZXN0a2V5dGVzdGtleQ=="/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="OPENAI_API_KEY" value="sk-test-fake-key"/>
<env name="PUBLISHER_CHANNELS" value="log"/>
<env name="PUBLISHER_DEFAULT_CHANNEL" value="log"/>
<env name="AI_OUTPUT_LANGUAGE" value="English"/>
</php>
</phpunit>