MDL-75359 reportbuilder: fixes for custom/user profile field elements.
Ensures cross-DB compatibility for all types of both custom and user profile fields, specifically when they're filtered and/or aggregated. Implement stress testing of both via appropriate report sources.
This commit is contained in:
@@ -441,8 +441,7 @@ class users_test extends core_reportbuilder_testcase {
|
||||
|
||||
$this->resetAfterTest();
|
||||
|
||||
$this->getDataGenerator()->create_custom_profile_field(['datatype' => 'text', 'name' => 'Hi', 'shortname' => 'hi']);
|
||||
$user = $this->getDataGenerator()->create_user(['profile_field_hi' => 'Hello']);
|
||||
$user = $this->getDataGenerator()->create_user();
|
||||
|
||||
$this->datasource_stress_test_columns(users::class);
|
||||
$this->datasource_stress_test_columns_aggregation(users::class);
|
||||
|
||||
Reference in New Issue
Block a user