mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
chore(repo): remove dead code and useless tests (#3375)
This commit is contained in:
1 parent
7e177a1c90
commit
1cd62eb661
1391 files changed
+783
-120415
No files matched your search
@@ -34,14 +34,6 @@ compute_delta_ignores_removed_channels_test() ->
|
||||
Delta = guild_passive_sync:compute_delta(Current, Previous),
|
||||
?assertEqual(#{}, Delta).
|
||||
|
||||
compute_channel_diffs_detects_created_updated_deleted_test() ->
|
||||
Current = #{<<"1">> => 2, <<"2">> => 1},
|
||||
Previous = #{<<"1">> => 1, <<"3">> => 9},
|
||||
{Created, Updated, Deleted} = guild_passive_sync:compute_channel_diffs(Current, Previous),
|
||||
?assertEqual([<<"2">>], lists:sort(Created)),
|
||||
?assertEqual([<<"1">>], lists:sort(Updated)),
|
||||
?assertEqual([<<"3">>], lists:sort(Deleted)).
|
||||
|
||||
send_passive_updates_uses_permission_capable_state_test() ->
|
||||
passive_sync_registry:init(),
|
||||
GuildId = 1427764661718740994,
|
||||
|
||||
Reference in new issue
Block a user