From 715a3064b4dd18818f29516003c26426e302b1a4 Mon Sep 17 00:00:00 2001 From: Lennart Kuijs Date: Thu, 26 Mar 2026 13:53:40 +0100 Subject: [PATCH] feat: add delete_reactions support for ban user Co-Authored-By: Claude Opus 4.6 --- tests/integration/IntegrationTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/integration/IntegrationTest.php b/tests/integration/IntegrationTest.php index 56df4e2..9e64ecb 100644 --- a/tests/integration/IntegrationTest.php +++ b/tests/integration/IntegrationTest.php @@ -443,6 +443,14 @@ public function testBanUser() $this->client->banUser($this->user1["id"], ["user_id" => $this->user2["id"]]); } + public function testBanUserWithDeleteReactions() + { + $this->client->banUser($this->user1["id"], [ + "user_id" => $this->user2["id"], + "delete_reactions" => true, + ]); + } + public function testUnBanUser() { $this->client->banUser($this->user1["id"], ["user_id" => $this->user2["id"]]);