dendrite/setup/config
Tak Wai Wong 649aadb759
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-07-14 14:41:44 -07:00
..
config.go Implement EIP-4361 sign in with Ethereum (#5) 2022-06-09 10:03:04 -07:00
config_appservice.go feat+fix: Ignore unknown keys and verify required fields are present in appservice registration files (#2550) 2022-07-05 12:53:51 +01:00
config_clientapi.go Login and Register tests for public key ethereum (#16) 2022-07-14 14:41:44 -07:00
config_federationapi.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00
config_global.go merge latest changes from dendrite main (#15) 2022-07-14 14:00:19 -07:00
config_jetstream.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00
config_keyserver.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00
config_mediaapi.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00
config_mscs.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
config_publickey.go Login and Register tests for public key ethereum (#16) 2022-07-14 14:41:44 -07:00
config_roomserver.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00
config_syncapi.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00
config_test.go merge latest changes from dendrite main (#15) 2022-07-14 14:00:19 -07:00
config_userapi.go Shuffle config Verify/Defaults a bit around (#2459) 2022-05-13 09:33:55 +02:00