Cms: Generating initial testing setup not working

Created on 4 Sep 2020  路  3Comments  路  Source: craftcms/cms

Description

Running the command craft tests/setup results in no files or directories to be copied. When inspecting the source in ./vendor, the path vendor/craftcms/cms/src/test/internal/example-test-suite is empty. When downloading source as ZIP from github, that path is also empty. When doing a git checkout, that path is not empty.

Steps to reproduce

  1. Install Craft through steps in documentation at https://craftcms.com/docs/3.x/installation.html#downloading-with-composer
  2. Run test setup command craft tests/setup

Additional info

  • Craft version: 3.5.8
  • PHP version: 7.4.8
  • Database driver & version: MySQL 5.7.31
  • Plugins & versions:
    "craftcms/redactor": "2.7.2",
    "misterbk/mix": "1.5.2",
    "nystudio107/craft-typogrify": "1.1.18",
    "vaersaagod/dospaces": "1.1.3",
    "vlucas/phpdotenv": "3.6.7"

image

image

bug

All 3 comments

I'm also seeing this issue. Temporary workaround is to clone the craftcms/cms repo using git and copy the files from src/test/internal/ into the same path in vendor, like @qrazi noted.

Craft 3.5.9 is out now with this fix.

Was this page helpful?
0 / 5 - 0 ratings