dendrite/test
Tak Wai Wong a501c9b936 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-08-13 12:59:33 -07:00
..
testrig Delete correct Send-to-Device messages (#2608) 2022-08-02 17:00:16 +02:00
wasm Add startup testing for Wasm Pinecone build (#1910) 2021-07-20 12:14:58 +01:00
db.go Really SKIP_NODB (#2472) 2022-05-18 15:17:23 +02:00
event.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
http.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
keyring.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
keys.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
publickey_utils.go Login and Register tests for public key ethereum (#16) 2022-08-13 12:59:33 -07:00
room.go Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
slice.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
user.go Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00