1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

fix bucket enabled

This commit is contained in:
Damodar Lohani 2021-11-19 13:02:12 +05:45
parent 4416ddf3ee
commit 4f7d82948e

View file

@ -509,7 +509,7 @@ trait WebhooksBase
$this->assertEquals(empty($webhook['headers']['X-Appwrite-Webhook-User-Id'] ?? ''), true);
$this->assertNotEmpty($webhook['data']['$id']);
$this->assertEquals('Test Bucket Updated', $webhook['data']['name']);
$this->assertEquals(false, $webhook['data']['enabled']);
$this->assertEquals(true, $webhook['data']['enabled']);
$this->assertIsArray($webhook['data']['$read']);
$this->assertIsArray($webhook['data']['$write']);
}