From 7602d7672309844bb04f3201b7e4323bc1e84096 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 11 Jun 2019 13:16:49 +0100 Subject: [PATCH] fix test --- test/components/structures/auth/Registration-test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/components/structures/auth/Registration-test.js b/test/components/structures/auth/Registration-test.js index 6914ed71d7..6a8b35fbc0 100644 --- a/test/components/structures/auth/Registration-test.js +++ b/test/components/structures/auth/Registration-test.js @@ -69,9 +69,11 @@ describe('Registration', function() { const root = render(); - // Set non-empty flows to get past the loading spinner + // Set non-empty flow & matrixClient to get past the loading spinner root.setState({ flows: [], + matrixClient: {}, + busy: false, }); const form = ReactTestUtils.findRenderedComponentWithType(