Set type in auth dict for m.oauth UIA stage (#33344)
* Set `type` in auth dict for `m.oauth` UIA stage * Update tests
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ describe("<MasUnlockCrossSigningAuthEntry/>", () => {
|
||||
renderAuth({ submitAuthDict });
|
||||
|
||||
fireEvent.click(screen.getByRole("button", { name: "Retry" }));
|
||||
expect(submitAuthDict).toHaveBeenCalledWith({});
|
||||
expect(submitAuthDict).toHaveBeenCalledWith({ type: AuthType.OAuth });
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user