Skip to content

CLI-1860: Updated response to include download links. - #2028

Draft
vishalkhode1 wants to merge 2 commits into
mainfrom
CLI-1860
Draft

CLI-1860: Updated response to include download links.#2028
vishalkhode1 wants to merge 2 commits into
mainfrom
CLI-1860

Conversation

@vishalkhode1

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

Try the dev build for this PR: https://acquia-cli.s3.amazonaws.com/build/pr/2028/acli.phar

curl -OL https://acquia-cli.s3.amazonaws.com/build/pr/2028/acli.phar
chmod +x acli.phar

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.50%. Comparing base (b3ac77e) to head (1227526).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2028   +/-   ##
=========================================
  Coverage     92.49%   92.50%           
- Complexity     1995     2000    +5     
=========================================
  Files           123      123           
  Lines          7238     7246    +8     
=========================================
+ Hits           6695     6703    +8     
  Misses          543      543           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@deepakmishra2 deepakmishra2 changed the title CLI-1860: Updated resoponse to include download links. CLI-1860: Updated response to include download links. Jul 24, 2026

@deepakmishra2 deepakmishra2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add test for api:site-instances:database:backups with a _links.download fixture and asserts the download URL is preserved.

$this->assertArrayNotHasKey('_links', $decoded[0]);
$this->assertArrayNotHasKey('_links', $decoded[1]);
$this->assertArrayHasKey('_links', $decoded[0]);
$this->assertEmpty($decoded[0]['_links']);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and once we have the test we can change this assertion to assertArrayNotHasKey('_links', ...) for fixtures without a download key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants