Skip to content

Commit 74a0074

Browse files
WIP
1 parent 55d8ddd commit 74a0074

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

magento/Dockerfile-2.4

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ COPY scripts/remove-paypal-braintree.php scripts/remove-paypal-braintree.php
2222
COPY scripts/patch-AC2855.php scripts/patch-AC2855.php
2323
COPY templates/memory-limit-php.ini /usr/local/etc/php/conf.d/memory-limit-php.ini
2424

25+
COPY Test/composer.json extensions/MichielGerritsen-ExampleTest/
26+
COPY Test/ExampleTest.php extensions/MichielGerritsen-ExampleTest/Test/Integration/
27+
2528
RUN set -e; \
2629
./start-services && \
2730
composer self-update --2 && \
@@ -79,6 +82,9 @@ RUN set -e; \
7982
rm scripts/apply-2.4-patches.php && \
8083
rm scripts/downgrade-monolog.php && \
8184
rm scripts/fix-monolog.php && \
85+
composer require michielgerritsen/exampletest:@dev && \
86+
cd /data/dev/tests/integration/ && ../../../vendor/bin/phpunit /data/vendor/michielgerritsen/exampletest/Test/Integration/ExampleTest.php && \
87+
cd /data && \
8288
./stop-services
8389

8490
COPY templates/install-config-mysql.php dev/tests/integration/etc/

0 commit comments

Comments
 (0)