[#7] API 응답 형식 재정의 및 Swagger-UI 관련 코드 패키지 분리 #8

Merged
pricelees merged 16 commits from refactor/#7 into main 2025-07-15 05:37:42 +00:00
Showing only changes of commit 0cc69179d1 - Show all commits

View File

@ -33,6 +33,15 @@ class CookieUtilsTest : FunSpec({
this.value shouldBe "" this.value shouldBe ""
} }
} }
test("httpServletRequest.cookies가 null이면 accessToken에 빈 값을 담은 쿠키를 반환한다.") {
every { httpServletRequest.cookies } returns null
assertSoftly(httpServletRequest.accessTokenCookie()) {
this.name shouldBe ACCESS_TOKEN_COOKIE_NAME
this.value shouldBe ""
}
}
} }
context("TokenResponse를 쿠키로 반환한다.") { context("TokenResponse를 쿠키로 반환한다.") {