-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2528da1
commit 15e2fb9
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
test/unit-tests/tchap/components/views/dialogs/ExpiredAccountDialog-test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
describe("ExpiredAccountDialog", () => { | ||
it("sends email when 'Send email' button is clicked", () => {}); | ||
it("when 'I renewed' is clicked, and the account is renewed, it displays 'cool' and unblocks user (todo)", () => {}); | ||
it("when 'I renewed' is clicked, and the account is not renewed, it displays 'not cool' and keeps dialog up (todo)", () => {}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
describe("ExpiredAccountHandler", () => { | ||
it("displays dialog when account is expired", () => { | ||
// Modal.createDialog | ||
// create handler | ||
// dispatch action : will_start_client | ||
// cli.on(HttpApiEvent.ORG_MATRIX_EXPIRED_ACCOUNT) | ||
// expect Modal.createDialog to have been called, with ExpiredAccountDialog class | ||
}); | ||
}); |