mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-28 05:58:40 -04:00
Avoid writing to log files during unit tests (#9373)
* Avoid writing to log files during unit tests * Translate PHPDoc of `record()` * Move environment variable into `phpunit.xml` and use tabs for indents
This commit is contained in:
1 parent
05bfbb9f33
commit
1f055da218
3 files changed
+19
-16
No files matched your search
+11
-8
@@ -1,12 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
bootstrap="./tests/bootstrap.php"
|
||||
displayDetailsOnAllIssues="true"
|
||||
failOnAllIssues="true"
|
||||
bootstrap="./tests/bootstrap.php"
|
||||
displayDetailsOnAllIssues="true"
|
||||
failOnAllIssues="true"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="default">
|
||||
<directory>./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<php>
|
||||
<env name="FRESHRSS_ENV" value="silent" force="true"/> <!-- To avoid writing into log files -->
|
||||
</php>
|
||||
<testsuites>
|
||||
<testsuite name="default">
|
||||
<directory>./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
Reference in new issue
Block a user