Skip to content

Commit

Permalink
correct response on webhook deletion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zonneveld committed Dec 12, 2023
1 parent bf24a39 commit d1660f8
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,11 @@ public function it_update_a_webhook_subscription_with_properties_when_type_is_co
public function it_can_delete_a_webhook()
{
$this->addExpectedResponse(
[
'Webhook deleted'
]
[]
);

$responseMessage = $this->mockedClient->webhookSubscriptions->destroy('someWebhookSubscription');

$this->assertEquals('Webhook deleted', $responseMessage);
$this->assertEquals([], $responseMessage);
}
}

0 comments on commit d1660f8

Please sign in to comment.