Active
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2015 at 19:56 UTC
Updated:
27 Mar 2022 at 10:57 UTC
Jump to comment: Most recent
This code already exists in BrowserTestBase. Maybe KernelTestBase and BrowserTestBase should share a common base class... what with the random stuff there seems to be a case for this.
Comments
Comment #7
mile23BrowserTestBasenow usesDrupal\Core\Test\TestSetupTrait, which has thechangeDatabasePrefix()method.KernelTestBasestill hasgetDatabaseConnectionInfo(), which is very similar.A naive attempt at making
KernelTestBaseuseTestSetupTraitdidn't work.Comment #13
mondrake