mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
add another test for registering a user with no username specified
This commit is contained in:
parent
2aeb0a6663
commit
b1b3e48590
|
|
@ -344,6 +344,13 @@ func Test_register(t *testing.T) {
|
|||
name: "successful registration",
|
||||
username: "success",
|
||||
},
|
||||
{
|
||||
name: "successful registration, sequential numeric ID",
|
||||
username: "",
|
||||
password: "someRandomPassword",
|
||||
forceEmpty: true,
|
||||
wantUsername: "3",
|
||||
},
|
||||
{
|
||||
name: "failing registration - user already exists",
|
||||
username: "success",
|
||||
|
|
|
|||
Loading…
Reference in a new issue