Skip to content

Commit 590f1f1

Browse files
committed
Fix failing webhook tests
1 parent 76de37c commit 590f1f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

stream_chat/tests/test_client.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,26 +128,22 @@ def test_get_app_settings(self, client: StreamChat):
128128
assert "app" in configs
129129

130130
def test_update_app_settings(self, client: StreamChat):
131-
# Get current app settings to verify event hooks support
132131
response = client.get_app_settings()
133132
assert "app" in response
134133

135134
client.update_app_settings(
136135
event_hooks=[
137136
{
138-
"enabled": True,
139137
"hook_type": "webhook",
140138
"webhook_url": "https://example.com/webhook",
141139
"event_types": ["message.new", "message.updated"],
142140
},
143141
{
144-
"enabled": True,
145142
"hook_type": "webhook",
146-
"webhook_url": "https://secondary-webhook-url.com",
143+
"webhook_url": "https://google.com",
147144
"event_types": [],
148145
},
149146
{
150-
"enabled": True,
151147
"hook_type": "pending_message",
152148
"webhook_url": "http://test-url.com",
153149
"timeout_ms": 500,

0 commit comments

Comments
 (0)