File tree Expand file tree Collapse file tree 3 files changed +38
-4
lines changed Expand file tree Collapse file tree 3 files changed +38
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ RUN set -e; \
82
82
COPY templates/supervisord-webserver.conf /etc/supervisor/conf.d/webserver.conf
83
83
COPY templates/install-config-mysql.php dev/tests/integration/etc/
84
84
COPY templates/post-install-setup-command-config.php dev/tests/integration/etc/
85
- COPY templates/phpunit-unit.xml dev/tests/unit/phpunit.xml
86
85
COPY entrypoint.sh entrypoint.sh
87
86
88
87
COPY scripts/enable-flat-catalog enable-flat-catalog
@@ -92,12 +91,16 @@ COPY scripts/disable-2fa disable-2fa
92
91
93
92
COPY templates/phpunit-integration.xml dev/tests/integration/phpunit.xml
94
93
COPY templates/phpunit-integration-248.xml dev/tests/integration/phpunit-248.xml
94
+ COPY templates/phpunit-unit.xml dev/tests/unit/phpunit.xml
95
+ COPY templates/phpunit-unit-248.xml dev/tests/unit/phpunit-248.xml
95
96
COPY scripts/fix-phpunit.xml.php fix-phpunit.xml.php
96
97
97
- RUN chmod +x enable-flat-catalog && chmod +x change-base-url && \
98
+ RUN chmod +x enable-flat-catalog && \
99
+ chmod +x change-base-url && \
98
100
php fix-phpunit.xml.php && \
99
101
rm fix-phpunit.xml.php && \
100
- rm dev/tests/integration/phpunit-248.xml
102
+ rm dev/tests/integration/phpunit-248.xml && \
103
+ rm dev/tests/unit/phpunit-248.xml
101
104
102
105
ENTRYPOINT ["/bin/bash", "entrypoint.sh"]
103
106
Original file line number Diff line number Diff line change 9
9
}
10
10
11
11
copy ('dev/tests/integration/phpunit-248.xml ' , 'dev/tests/integration/phpunit.xml ' );
12
+ copy ('dev/tests/unit/phpunit-248.xml ' , 'dev/tests/unit/phpunit.xml ' );
12
13
13
- echo 'Copied dev/tests/integration/phpunit-248.xml to dev/tests/integration/phpunit.xml ' . PHP_EOL ;
14
+ echo 'Copied dev/tests/integration/phpunit-248.xml to dev/tests/integration/phpunit.xml ' . PHP_EOL ;
15
+ echo 'Copied dev/tests/unit/phpunit-248.xml to dev/tests/unit/phpunit.xml ' . PHP_EOL ;
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.4/phpunit.xsd"
10
+ colors =" true"
11
+ columns =" max"
12
+ beStrictAboutTestsThatDoNotTestAnything =" false"
13
+ bootstrap =" ./framework/bootstrap.php" >
14
+ <testsuite name =" Magento_Unit_Tests_Extensions" >
15
+ <directory suffix =" Test.php" >/data/extensions/**/Test/Unit</directory >
16
+ </testsuite >
17
+ <php >
18
+ <includePath >.</includePath >
19
+ <ini name =" memory_limit" value =" -1" />
20
+ <ini name =" date.timezone" value =" America/Los_Angeles" />
21
+ <ini name =" xdebug.max_nesting_level" value =" 200" />
22
+ </php >
23
+ <extensions >
24
+ <bootstrap class =" Qameta\Allure\PHPUnit\AllureExtension" >
25
+ <!-- Path to config file (default is config/allure.config.php) -->
26
+ <parameter name =" config" value =" allure/allure.config.php" />
27
+ </bootstrap >
28
+ </extensions >
29
+ </phpunit >
You can’t perform that action at this time.
0 commit comments