MNT Add test for programatically adding blank Group title.
This commit is contained in:
parent
1c85d151a6
commit
e8194123a6
|
@ -305,6 +305,11 @@ class GroupTest extends FunctionalTest
|
|||
$newGroup->Title = 'Title';
|
||||
$result = $newGroup->validate();
|
||||
$this->assertTrue($result->isValid());
|
||||
|
||||
// Title can be empty to avoid breaking backwards-compatibility.
|
||||
$newGroup->Title = '';
|
||||
$result = $newGroup->validate();
|
||||
$this->assertTrue($result->isValid());
|
||||
}
|
||||
|
||||
public function testGroupTitleDuplication()
|
||||
|
|
Loading…
Reference in New Issue