Skip to content

Commit 7795f7e

Browse files
author
Kevin Hellemun
committed
Fixed broken tests. (#102)
1 parent 60f9c12 commit 7795f7e

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

tests/model/generated/endpoint/test_payment.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,6 @@ def test_payment_to_other_account(self):
4848
self._PAYMENT_DESCRIPTION
4949
)
5050

51-
def test_payment_chat(self):
52-
"""
53-
Tests sending a chat message in a newly created payment
54-
55-
This test has no assertion as of its testing to see if the code runs
56-
without errors
57-
"""
58-
59-
payment_id = endpoint.Payment.create(
60-
object_.Amount(self._PAYMENT_AMOUNT_EUR, self._PAYMENT_CURRENCY),
61-
self._get_pointer_bravo(),
62-
self._PAYMENT_DESCRIPTION
63-
).value
64-
65-
chat_id = endpoint.PaymentChat.create(payment_id).value
66-
67-
endpoint.ChatMessageText.create(
68-
chat_id,
69-
self._PAYMENT_CHAT_TEXT_MESSAGE
70-
)
71-
7251
def test_payment_batch(self):
7352
"""
7453
"""

tests/model/generated/object/test_notification_url.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,6 @@ def test_bunq_me_tab_model(self):
183183
self._GETTER_BUNQ_ME_TAB
184184
)
185185

186-
def test_chat_message_announcement_model(self):
187-
self.execute_notification_url_test(
188-
self.JSON_PATH_CHAT_MESSAGE_ANNOUNCEMENT_MODEL,
189-
endpoint.ChatMessage.__name__,
190-
self._GETTER_CHAT_MESSAGE,
191-
endpoint.ChatMessageAnnouncement.__name__,
192-
self._GETTER_CHAT_MESSAGE_ANNOUNCEMENT
193-
)
194-
195186
def test_draft_payment_model(self):
196187
self.execute_notification_url_test(
197188
self.JSON_PATH_DRAFT_PAYMENT_MODEL,

0 commit comments

Comments
 (0)