Skip to content

Commit

Permalink
test: AssuredSupport post 에서 필요없는 Application json value 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
cookienc committed Sep 20, 2023
1 parent e71f435 commit 986923f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions backend/baton/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ oauth:
client_secret: ${OAUTH_GITHUB_CLIENT_SECRET}
scope: ${OAUTH_GITHUB_SCOPE}

github:
personal_access_token: ${PERSONAL_MISSION_ACCESS_TOKEN}

cors:
allowed-origin: http://localhost:3000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public static ExtractableResponse<Response> post(final String uri, final String
return RestAssured
.given().log().ifValidationFails()
.auth().preemptive().oauth2(accessToken)
.contentType(APPLICATION_JSON_VALUE)
.when().log().ifValidationFails()
.post(uri)
.then().log().ifError()
Expand Down

0 comments on commit 986923f

Please sign in to comment.