Closed (duplicate)
Project:
OpenAPI for REST
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 May 2020 at 13:50 UTC
Updated:
22 May 2025 at 18:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lolandese commentedThe filenames must end with "Test.php". This is what PHPUnit is looking for within directories.
Source: php - PHPUnit - 'No tests executed' when using configuration file - Stack Overflow
It's basically just a name change of both the file and class from RequestTestRest to RequestRestTest. I can open an issue but it seems it has a strong dependency on this one thus some hassle to merge the code changes later.
The test runs after applying the patch, albeit with errors. That looks to get solved in #3130334: Fix tests.
Comment #3
markdorisonThis looks good to me. Just ran into a similar issue elsewhere.
Comment #4
phenaproximaClosing as a duplicate of #3433699: Automated Drupal 11 compatibility fixes for openapi_rest, which fixed this.