processmaker icon indicating copy to clipboard operation
processmaker copied to clipboard

[FOUR-13207] Certain tests fail Composer autoload

Open ryancooley opened this issue 2 years ago • 6 comments

Issue & Reproduction Steps

When running composer install and other composer commands, several error messages display.

Here is an example: Class Tests\FilterTest located in ./tests/Unit/ProcessMaker/FilterTest.php does not comply with psr-4 autoloading standard. Skipping.

Solution

  • Move the tests to a different directory structure
  • Update namespaces if necessary

How to Test

Run composer install or composer dump-autoload.

Related Tickets & Packages

  • https://processmaker.atlassian.net/browse/FOUR-13207

ci:next ci:deploy

ryancooley avatar Jan 11 '24 00:01 ryancooley

QA server K8S was successfully deployed https://ci-1c600c3ea2.engk8s.processmaker.net

tokensPM avatar Jan 11 '24 01:01 tokensPM

QA server K8S was successfully deployed https://ci-1c600c3ea2.engk8s.processmaker.net

tokensPM avatar Jan 12 '24 03:01 tokensPM

QA server K8S was successfully deployed https://ci-1c600c3ea2.engk8s.processmaker.net

tokensPM avatar Jan 12 '24 16:01 tokensPM

QA server K8S was successfully deployed https://ci-1c600c3ea2.engk8s.processmaker.net

tokensPM avatar Jan 12 '24 18:01 tokensPM

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No Coverage information No data about Coverage
0.0% 0.0% Duplication on New Code

See analysis details on SonarQube

QA server K8S was successfully deployed https://ci-1c600c3ea2.engk8s.processmaker.net

tokensPM avatar Jan 13 '24 04:01 tokensPM