From 1e404e379be11c98f1e2e7ef38625bee43b110bf Mon Sep 17 00:00:00 2001 From: shimon Date: Wed, 17 Aug 2022 10:59:23 +0300 Subject: [PATCH] sync with 0.16 --- tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php b/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php index 594d5c9f76..22f58de931 100644 --- a/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php +++ b/tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php @@ -289,7 +289,8 @@ class WebhooksCustomServerTest extends Scope $this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Id'] ?? '', $this->getProject()['webhookId']); $this->assertEquals($webhook['headers']['X-Appwrite-Webhook-Project-Id'] ?? '', $this->getProject()['$id']); $this->assertEquals(empty($webhook['headers']['X-Appwrite-Webhook-User-Id'] ?? ''), ('server' === $this->getSide())); - $this->assertEquals($webhook['data']['prefs']['a'], 'b'); + + $this->assertEquals($webhook['data']['a'], 'b'); return $data; }