Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 25, 2024
1 parent a673908 commit d567e98
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@
"application_id": "297153970613387264",
"app_permissions": "2147483647",
"locale": "de",
"guild_locale": "en-US"
"guild_locale": "en-US",
"authorizing_integration_owners": {"0": "0"}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
"application_id": "297153970613387264",
"app_permissions": "2147483647",
"locale": "de",
"guild_locale": "en-US"
"guild_locale": "en-US",
"authorizing_integration_owners": {"0": "0"}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,6 @@
},
"token": "UNIQUE_TOKEN",
"type": 3,
"version": 1
"version": 1,
"authorizing_integration_owners": {"0": "0"}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
"application_id": "297153970613387264",
"app_permissions": "2147483647",
"locale": "de",
"guild_locale": "en-US"
"guild_locale": "en-US",
"authorizing_integration_owners": {"0": "0"}
}
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,11 @@ class DispatchEventDeserializationTest {
type = InteractionType.Ping,
data = InteractionCallbackData(),
token = "hunter2",
appPermissions = Permissions(),
authorizingIntegrationOwners = mapOf(ApplicationIntegrationType.GuildInstall to Snowflake.min),
version = 1,
),
json = """{"id":"0","application_id":"0","type":1,"data":{},"token":"hunter2","version":1}""",
json = """{"id":"0","application_id":"0","type":1,"data":{},"token":"hunter2","version":1, "app_permissions":"0", "authorizing_integration_owners": {"0": 0}}""",
)

@Test
Expand Down

0 comments on commit d567e98

Please sign in to comment.