dendrite/.github
Tak Wai Wong 5ac83189d9
Login and Register tests for public key ethereum (#16)
* TestLoginPublicKeyNewSession

* use asserts

* setup, test, asserts

* TestLoginPublicKeyValidAuthTypeMissingSession

* invalid session id test

* create a helper newSession function

* TestLoginPublicKeyEthereumMissingUserId

* TestLoginPublicKeyEthereumAccountNotAvailable

* TestLoginPublicKeyEthereumInvalidUserId

* createEip4361TestMessage

* TestLoginPublicKeyEthereumMissingSignature

* TestLoginPublicKeyEthereum

* re-enable all publickey signin tests

* move common publickey test util to its own file

* register_public_key.go stub

* refactored common ethereum test helpers to its own folder

* refactor test helpers

* return error in test helpers

* fix regressions with ServerName

* TestRegistrationUnimplementedAlgo

* TestNewRegistration

* TestNewRegistrationSession

* verify new login session

* remove assert

* perform account creation

* TestRegisterEthereum

* Enable all tests

* move helper functions into test file

Co-authored-by: Tak Wai Wong <tak@hntlabs.com>
2022-10-24 17:53:16 -07:00
..
ISSUE_TEMPLATE Further tweak to the issue template 2022-10-10 11:09:40 +01:00
workflows Login and Register tests for public key ethereum (#16) 2022-10-24 17:53:16 -07:00
CODEOWNERS Set @matrix-org/dendrite-core as repository code owner 2021-12-09 13:29:49 +00:00
FUNDING.yml Create FUNDING.yml 2020-07-15 11:30:32 +01:00
PULL_REQUEST_TEMPLATE.md Update issue and pull request templates 2022-10-10 11:03:52 +01:00