Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not di:compile tests/ folder [2.1 backport] #9660

Merged
merged 1 commit into from
May 19, 2017

Conversation

kassner
Copy link
Contributor

@kassner kassner commented May 17, 2017

Backport for #9210

--

Description

setup:di:compile failes when you have magento/data-migration-tool as a regular dependency and you haven't installed the dev dependencies with composer (--no-dev).

Manual testing scenarios

  1. Install dependencies using composer install --no-dev
  2. composer require magento/data-migration-tool:2.1.4 and enable the module
  3. php bin/magento setup:di:compile

Current result

PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in /var/www/html/vendor/magento/data-migration-tool/tests/static/testsuite/Migration/Php/LiveCodeTest.php on line 19

Expected result

setup:di:compile runs without failures.

@ishakhsuvarov ishakhsuvarov self-assigned this May 17, 2017
@ishakhsuvarov ishakhsuvarov added this to the May 2017 milestone May 17, 2017
@kassner kassner changed the title Do not di:compile tests/ folder Do not di:compile tests/ folder [2.1 backport] May 17, 2017
@magento-team magento-team merged commit 7b2647c into magento:2.1-develop May 19, 2017
magento-team pushed a commit that referenced this pull request May 19, 2017
[EngCom] Public Pull Requests - 2.1
 - MAGETWO-69238: Keep transparency when resizing images [2.1 backport] #9662
 - MAGETWO-69236: Add configurations for change email templates [2.1 backport] #9661
 - MAGETWO-69235: Do not di:compile tests/ folder #9660
 - MAGETWO-69223 Fix for #9646 #9647
 - MAGETWO-69234: Backport of MAGETWO-69152: Removed workaround for old Webkit bug #9655
@magento-team
Copy link
Contributor

@kassner thank you for your contribution

@kassner kassner deleted the patch-8 branch June 1, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants