Hopefully actually make the tests happy

This commit is contained in:
Travis Ralston 2019-07-11 14:45:36 -06:00
parent a9419135aa
commit 698fd3b897

View file

@ -97,10 +97,11 @@ describe('InteractiveAuthDialog', function() {
ReactTestUtils.Simulate.submit(formNode, {});
expect(doRequest.callCount).toEqual(1);
expect(doRequest.calledWithMatch({
expect(doRequest.calledWithExactly({
session: "sess",
type: "m.login.password",
password: "s3kr3t",
user: "@user:id", // TODO: Remove this. See https://github.com/vector-im/riot-web/issues/10312
identifier: {
type: "m.id.user",
user: "@user:id",