Skip to content

[Tests-Only] fix scenarios to use status check for accepting shares - #37989

Merged
phil-davis merged 1 commit into
masterfrom
fix-scenario-http-checks
Oct 7, 2020
Merged

phil-davis merged 1 commit into
masterfrom
fix-scenario-http-checks

Conversation

@dpakach

@dpakach dpakach commented Oct 7, 2020 •

Copy link
Copy Markdown
Contributor

Description

Check status codes on both sharing and accepting the shares in API acceptance tests.

Related Issue

Motivation and Context

How Has This Been Tested?

🤖

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@dpakach
dpakach marked this pull request as ready for review October 7, 2020 03:23
@dpakach
dpakach requested review from haribhandari07 and phil-davis and removed request for phil-davis October 7, 2020 03:23
@dpakach dpakach self-assigned this Oct 7, 2020
@codecov

codecov Bot commented Oct 7, 2020 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@a3d947b). Click here to learn what that means.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #37989   +/-   ##
=========================================
  Coverage          ?   64.70%           
  Complexity        ?    19445           
=========================================
  Files             ?     1286           
  Lines             ?    76034           
  Branches          ?     1336           
=========================================
  Hits              ?    49196           
  Misses            ?    26444           
  Partials          ?      394           
Flag Coverage Δ Complexity Δ
#javascript 54.06% <ø> (?) 0.00 <ø> (?)
#phpunit 65.87% <0.00%> (?) 19445.00 <1.00> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
core/Command/Upgrade.php 0.00% <0.00%> (ø) 29.00 <1.00> (?)
core/ajax/update.php 0.00% <0.00%> (ø) 11.00 <0.00> (?)
core/register_command.php 0.00% <0.00%> (ø) 0.00 <0.00> (?)
lib/private/Server.php 85.41% <0.00%> (ø) 129.00 <0.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3d947b...650ab02. Read the comment docs.

@phil-davis
phil-davis merged commit 994757e into master Oct 7, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the fix-scenario-http-checks branch October 7, 2020 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor status code checks in API acceptance tests

2 participants