mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-06 13:43:09 -06:00
fix test initialization of userinteractive
This commit is contained in:
parent
b5ba9683f9
commit
f2ca368404
|
|
@ -66,6 +66,7 @@ func TestLoginFromJSONReader(t *testing.T) {
|
||||||
Flows: []userInteractiveFlow{},
|
Flows: []userInteractiveFlow{},
|
||||||
Types: make(map[string]Type),
|
Types: make(map[string]Type),
|
||||||
Sessions: make(map[string][]string),
|
Sessions: make(map[string][]string),
|
||||||
|
Params: make(map[string]interface{}),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tst := range tsts {
|
for _, tst := range tsts {
|
||||||
|
|
@ -151,6 +152,7 @@ func TestBadLoginFromJSONReader(t *testing.T) {
|
||||||
Flows: []userInteractiveFlow{},
|
Flows: []userInteractiveFlow{},
|
||||||
Types: make(map[string]Type),
|
Types: make(map[string]Type),
|
||||||
Sessions: make(map[string][]string),
|
Sessions: make(map[string][]string),
|
||||||
|
Params: make(map[string]interface{}),
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tst := range tsts {
|
for _, tst := range tsts {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue