Skip to content

Commit

Permalink
Minor refactor. (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Apr 5, 2018
1 parent 6c164f8 commit 8f959d2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Model/Generated/Endpoint/PaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,11 @@ public function testSendMoneyToOtherMonetaryAccount(): BunqResponseInt
/**
* Test sending a payment chat to a payment.
*
* This test has no assertion as of its testing to see if the code runs without errors.
*
* @depends testSendMoneyToOtherMonetaryAccount
*/
public function testSendMessageToPayment(BunqResponseInt $paymentId)
{
$chatId = PaymentChat::create(
$paymentId->getValue()
)->getValue();
$chatId = PaymentChat::create($paymentId->getValue())->getValue();

$response = ChatMessageText::create($chatId, self::PAYMENT_CHAT_TEXT_MESSAGE);

Expand Down

0 comments on commit 8f959d2

Please sign in to comment.