Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Cover error handling cases in API tests (2/2) #2482

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Nov 27, 2023

Follow on from #2466 - please see this PR for details.

Copy link

github-actions bot commented Nov 27, 2023

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr requested a review from a team November 28, 2023 18:24
@DafyddLlyr DafyddLlyr marked this pull request as ready for review November 28, 2023 18:24
@@ -37,6 +37,18 @@ describe("BOPS payload admin endpoint", () => {
.expect(403);
});

it("returns an error if the XML generation fails", async () => {
Copy link
Member

Choose a reason for hiding this comment

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

nit: title of this test doesn't match what it's doing ?

@@ -40,6 +40,22 @@ describe("Digital Planning Application payload admin endpoint", () => {
.expect(403);
});

it("returns an error if the XML generation fails", async () => {
Copy link
Member

Choose a reason for hiding this comment

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

same as above - update to "returns an error if the _payload_ generation fails" ?

@DafyddLlyr DafyddLlyr merged commit 7428833 into dp/bump-api-coverage Nov 29, 2023
10 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/api-coverage-2 branch November 29, 2023 09:13
DafyddLlyr added a commit that referenced this pull request Nov 29, 2023
* test: More coverage updates

* fix: Linting

* fix: Copy paste errors
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.

2 participants