Commit Graph

4 Commits

Author SHA1 Message Date
kozabrada123 53f08ff1f9 add some tests, minor connection updates
- Document that create_domain_connection is unimplemented on Spacebar

- Add Discord connection type

- Change ConnectionType::array() into ConnectionType::vector() - returning a fixed size array is dubious, since it'll likely be expanded. Returning a vector is easier keep up to variable length

- Add ConnectionType::discord_vector() and ConnectionType::spacebar_vector() to return a vector ConnectionTypes available on the respective server backends

- add tests test_modify_user_profile, test_disable_user, test_get_user_note, test_set_user_note, test_get_user_affinities, test_get_guild_affinities, test_get_connections

Note: connections are hard to test, since they require secrets / an external service's account
2024-08-21 18:26:11 +02:00
kozabrada123 2f2407467e add test for get_user_profile 2024-08-18 14:50:13 +02:00
bitfl0wer b8ba92cf07 Include license header everywhere 2024-01-30 17:19:34 +01:00
bitfl0wer fcd405939f Add to_public_user test 2024-01-23 23:06:24 +01:00