Closed (works as designed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2013 at 14:23 UTC
Updated:
11 Mar 2017 at 02:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xanoExamples of the inconsistencies are:Comment #2
xanoApparently this was no longer possible, but the documentation still said it was. The patch updates the documentation, and also declares and documents the undocumented WebTestBase::modules property.
Comment #3
clemens.tolboomWhere are calls from #1 located?
Comment #4
xanoThose calls no longer exist. As explained in #2 the class contained stale documentation, which is fixed by the patch (among other things).
Comment #5
xanoComment #7
xanoComment #11
mile23You can see the current docblock for WebTestBase::setUp() here: https://api.drupal.org/api/drupal/core%21modules%21simpletest%21src%21We...
It doesn't seem to mention passing in parameters.
It does say how to set up ::modules and ::profile, and of course the full documentation is on FunctionalTestSetupTrait::installModulesFromClassProperty here: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Test%21Fu...
Closing this as works, but please re-open if there's another issue.