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

Move etag header tests to separate test file #208

Merged
merged 5 commits into from Apr 4, 2024
Merged

Conversation

NielsCW
Copy link
Contributor

@NielsCW NielsCW commented Apr 3, 2024

Move optimistic locking tests about If-Match and ETag headers from InvoicingApplicationTest to a new file

@NielsCW NielsCW requested a review from a team as a code owner April 3, 2024 07:11
.andExpect(headers().etag().exists());
}

void checkETagUnchanged(String url, int original) throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

I would also change the type in these arguments:

Suggested change
void checkETagUnchanged(String url, int original) throws Exception {
void checkETagUnchanged(String url, String etag) throws Exception {

Copy link

sonarcloud bot commented Apr 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@NielsCW NielsCW enabled auto-merge April 4, 2024 15:26
@NielsCW NielsCW merged commit 84aede4 into main Apr 4, 2024
9 checks passed
@NielsCW NielsCW deleted the optimistic-locking branch April 4, 2024 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.

None yet

2 participants