mirror of
https://github.com/coollabsio/coolify.git
synced 2026-10-06 14:07:37 -04:00
Queue database imports from upload, S3, or server paths via REST, and manage Cloudflare DNS records from integration tokens and domain UIs.
14 lines
651 B
PHP
14 lines
651 B
PHP
<?php
|
|
|
|
test('documents standalone and service database import endpoints', function () {
|
|
$document = json_decode(file_get_contents(__DIR__.'/../../openapi.json'), true, flags: JSON_THROW_ON_ERROR);
|
|
|
|
expect($document['paths'])
|
|
->toHaveKey('/databases/{uuid}/imports/uploads')
|
|
->toHaveKey('/databases/{uuid}/imports')
|
|
->toHaveKey('/databases/{uuid}/imports/{activity_id}')
|
|
->toHaveKey('/services/{uuid}/databases/{database_uuid}/imports/uploads')
|
|
->toHaveKey('/services/{uuid}/databases/{database_uuid}/imports')
|
|
->toHaveKey('/services/{uuid}/databases/{database_uuid}/imports/{activity_id}');
|
|
});
|