Merge pull request '[Fix]: API Spec' (!8) from TD-34-spieler-listen-endpunkt into trunk
All checks were successful
Quality Check / Validate OAS (push) Successful in 37s
Build Application / build (push) Successful in 1m6s
Quality Check / Linting (push) Successful in 1m10s
Quality Check / Static Analysis (push) Successful in 1m16s
Quality Check / Testing (push) Successful in 1m12s
Build Application / build-docker (push) Successful in 20s
Build Application / release (push) Successful in 8s
All checks were successful
Quality Check / Validate OAS (push) Successful in 37s
Build Application / build (push) Successful in 1m6s
Quality Check / Linting (push) Successful in 1m10s
Quality Check / Static Analysis (push) Successful in 1m16s
Quality Check / Testing (push) Successful in 1m12s
Build Application / build-docker (push) Successful in 20s
Build Application / release (push) Successful in 8s
Reviewed-on: #8 Reviewed-by: Snoweuph <snow+git@euph.email>
This commit is contained in:
commit
dfcd56c7b5
2 changed files with 2 additions and 2 deletions
|
@ -239,7 +239,7 @@ paths:
|
|||
503:
|
||||
$ref: "#/components/responses/503ServiceUnavailable"
|
||||
/admin/players:
|
||||
get:
|
||||
post:
|
||||
operationId: "GetAllPlayers"
|
||||
tags:
|
||||
- admin
|
||||
|
|
|
@ -13,7 +13,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||
class GetAllPlayersTest extends IntegrationTest {
|
||||
|
||||
private MockHttpServletRequestBuilder createGetAllPlayersRequest(String requestBody) {
|
||||
return MockMvcRequestBuilders.get(baseUri + "/admin/players")
|
||||
return MockMvcRequestBuilders.post(baseUri + "/admin/players")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(requestBody);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue