Skip to content

test: add Gherkin test definition for getCall operation (fixes #78)#81

Merged
YadingFang merged 1 commit intomainfrom
fix/add-getCall-test
Mar 9, 2026
Merged

test: add Gherkin test definition for getCall operation (fixes #78)#81
YadingFang merged 1 commit intomainfrom
fix/add-getCall-test

Conversation

@YadingFang
Copy link
Copy Markdown
Contributor

What type of PR is this?

Adds a Gherkin test definition for the getCall operation (GET /calls/{callId}), which was missing from code/Test_definitions/.

Scenarios covered:

  • 200 — successful retrieval of call details (validates Call schema and x-correlator header)
  • 400 — invalid request / malformed path parameter
  • 401 — authentication failure
  • 403 — authorization failure (insufficient permissions)
  • 404 — unknown call identifier

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 9, 2026

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.01s
✅ API spectral 1 0 1.63s
✅ GHERKIN gherkin-lint 4 0 1.14s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY secretlint yes no 0.66s
✅ YAML yamllint 1 0 0.44s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link
Copy Markdown

@XunliYang XunliYang left a comment

Choose a reason for hiding this comment

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

LGTM

@YadingFang YadingFang merged commit 1ee4853 into main Mar 9, 2026
2 checks passed
@YadingFang YadingFang deleted the fix/add-getCall-test branch March 9, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing Gherkin test definition for getCall operation

2 participants