Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding committed Mar 1, 2023
1 parent ed9c94f commit 60a89b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hikari/api/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8545,4 +8545,4 @@ async def delete_auto_mod_rule(
nature, and will trigger this exception if they occur.
hikari.errors.InternalServerError
If an internal error occurs on Discord while handling the request.
""" # noqa: E501 - Line too long
"""
2 changes: 2 additions & 0 deletions tests/hikari/impl/test_entity_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,7 @@ def test_deserialize_audit_log_entry_for_unknown_action_type(self, entity_factor
def audit_log_payload(
self,
audit_log_entry_payload,
auto_mod_rule_payload,
user_payload,
incoming_webhook_payload,
application_webhook_payload,
Expand All @@ -1589,6 +1590,7 @@ def audit_log_payload(
):
return {
"audit_log_entries": [audit_log_entry_payload],
"auto_moderation_rules": [auto_mod_rule_payload],
"integrations": [partial_integration_payload],
"threads": [guild_public_thread_payload, guild_private_thread_payload, guild_news_thread_payload],
"users": [user_payload],
Expand Down

0 comments on commit 60a89b7

Please sign in to comment.