fix bucket enabled
This commit is contained in:
parent
4416ddf3ee
commit
4f7d82948e
|
@ -509,7 +509,7 @@ trait WebhooksBase
|
||||||
$this->assertEquals(empty($webhook['headers']['X-Appwrite-Webhook-User-Id'] ?? ''), true);
|
$this->assertEquals(empty($webhook['headers']['X-Appwrite-Webhook-User-Id'] ?? ''), true);
|
||||||
$this->assertNotEmpty($webhook['data']['$id']);
|
$this->assertNotEmpty($webhook['data']['$id']);
|
||||||
$this->assertEquals('Test Bucket Updated', $webhook['data']['name']);
|
$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']['$read']);
|
||||||
$this->assertIsArray($webhook['data']['$write']);
|
$this->assertIsArray($webhook['data']['$write']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue