Skip to content

MBS-10346: Allow more characters for tenant names#113

Open
HannesFunk wants to merge 8 commits intomainfrom
MBS-10346_Allow_blank_spaces_in_tenant
Open

MBS-10346: Allow more characters for tenant names#113
HannesFunk wants to merge 8 commits intomainfrom
MBS-10346_Allow_blank_spaces_in_tenant

Conversation

@HannesFunk
Copy link
Copy Markdown
Contributor

No description provided.

@HannesFunk HannesFunk force-pushed the MBS-10346_Allow_blank_spaces_in_tenant branch from c85f7fe to 851dfdb Compare March 13, 2026 23:01
@PhMemmel PhMemmel changed the title MBS-10346: Change PARAM for tenant to allow blank spaces MBS-10346: Allow more characters for tenant names Mar 23, 2026
@PhMemmel PhMemmel force-pushed the MBS-10346_Allow_blank_spaces_in_tenant branch from 9c5d060 to d5f226c Compare March 23, 2026 06:02
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be part of this branch, have you rebased the branch? If not, please do.

* @dataProvider identifier_provider
* @covers \local_ai_manager\local\tenant::__construct
*/
public function test_validation($name, $valid): void {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public function test_validation($name, $valid): void {
public function test_tenant_name_validation($name, $valid): void {

*
* @return array
*/
public static function identifier_provider(): array {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data providers always have to have a specific name scheme which is "test method name with leading test_ prefix"_provider

Please also add some description to @return array

@HannesFunk HannesFunk force-pushed the MBS-10346_Allow_blank_spaces_in_tenant branch from 489de93 to afc0ebe Compare March 23, 2026 11:31
@PhMemmel PhMemmel force-pushed the MBS-10346_Allow_blank_spaces_in_tenant branch from afc0ebe to 2ef9a15 Compare March 23, 2026 12:03
@PhMemmel PhMemmel force-pushed the MBS-10346_Allow_blank_spaces_in_tenant branch from 2ef9a15 to 5cc41a7 Compare March 23, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants