Skip to content

Commit c7eb1d8

Browse files
committed
update tests
1 parent df40331 commit c7eb1d8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

phpunit.xml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
>
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" bootstrap="vendor/autoload.php"
4+
colors="true">
75
<testsuites>
86
<testsuite name="Test Suite">
97
<directory suffix="Test.php">./tests</directory>
108
</testsuite>
119
</testsuites>
12-
<coverage>
13-
<include>
14-
<directory suffix=".php">./src</directory>
15-
</include>
16-
</coverage>
10+
<coverage/>
1711
<php>
1812
<env name="APP_ENV" value="test"/>
1913
<env name="KERNEL_CLASS" value="SergiX44\NutgramBundle\Tests\Fixtures\AppKernel"/>
2014
<env name="TELEGRAM_TOKEN" value="123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"/>
2115
</php>
16+
<source>
17+
<include>
18+
<directory suffix=".php">./src</directory>
19+
</include>
20+
</source>
2221
</phpunit>

tests/Fixtures/test_config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ nutgram:
1212
botName: 'EEE'
1313
testEnv: true
1414
pollingTimeout: 123
15-
pollingLimit: 456
15+
pollingLimit: 456
16+
enableHttp2: true

0 commit comments

Comments
 (0)