Skip to content

Account deactivation tests depend on oneshot UIA #898

Description

@timedoutuk

Related: #893

func deactivateAccount(t *testing.T, authedClient *client.CSAPI, password string) *http.Response {
t.Helper()
reqBody := client.WithJSONBody(t, map[string]interface{}{
"auth": map[string]interface{}{
"type": "m.login.password",
"identifier": map[string]interface{}{
"type": "m.id.user",
"user": authedClient.UserID,
},
"password": password,
},
})

The account deactivation helper requires being capable of skipping UIA, which is not spec compliant and causes flaky failures in all tests that use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions