webhooks: Rename stream_name to channel_name arg.

This commit is contained in:
Mateusz Mandera
2024-05-04 22:24:07 +02:00
committed by Tim Abbott
parent fef299510f
commit d7b2655ad2
8 changed files with 17 additions and 17 deletions

View File

@@ -94,7 +94,7 @@ class Bitbucket3HookTests(WebhookTestCase):
msg = self.get_second_to_last_message()
self.assert_channel_message(
message=msg,
stream_name=self.CHANNEL_NAME,
channel_name=self.CHANNEL_NAME,
topic_name=TOPIC_BRANCH_EVENTS.format(branch="branch1"),
content=branch1_content,
)
@@ -102,7 +102,7 @@ class Bitbucket3HookTests(WebhookTestCase):
msg = self.get_last_message()
self.assert_channel_message(
message=msg,
stream_name=self.CHANNEL_NAME,
channel_name=self.CHANNEL_NAME,
topic_name=TOPIC_BRANCH_EVENTS.format(branch="master"),
content=master_content,
)