Skip to content

[BE] 기존 jwt 토큰 응답 방식을 쿠키로 변경하고 path 및 보안 설정 #121

[BE] 기존 jwt 토큰 응답 방식을 쿠키로 변경하고 path 및 보안 설정

[BE] 기존 jwt 토큰 응답 방식을 쿠키로 변경하고 path 및 보안 설정 #121

GitHub Actions / Test Results failed Jul 31, 2024 in 0s

3 fail, 55 pass in 4s

58 tests  ±0   55 ✅ ±0   4s ⏱️ ±0s
15 suites ±0    0 💤 ±0 
15 files   ±0    3 ❌ ±0 

Results for commit d10d68b. ± Comparison against earlier commit abdcb23.

Annotations

Check warning on line 0 in kr.momo.controller.meeting.MeetingControllerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

약속을 잠글 때 호스트 권한이 없다면 403을 반환한다. (kr.momo.controller.meeting.MeetingControllerTest) failed

backend/build/test-results/test/TEST-kr.momo.controller.meeting.MeetingControllerTest.xml [took 0s]
Raw output
io.restassured.path.json.exception.JsonPathException: Failed to parse the JSON document
	at app//io.restassured.path.json.JsonPath$ExceptionCatcher.invoke(JsonPath.java:1002)
	at app//io.restassured.path.json.JsonPath$4.doParseWith(JsonPath.java:967)
	at app//io.restassured.path.json.JsonPath$JsonParser.parseWith(JsonPath.java:1047)
	at app//io.restassured.path.json.JsonPath.get(JsonPath.java:202)
	at app//io.restassured.path.json.JsonPath.getString(JsonPath.java:352)
	at app//kr.momo.controller.meeting.MeetingControllerTest.lockWithNoPermission(MeetingControllerTest.java:210)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty.
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.path.json.ConfigurableJsonSlurper.parseText(ConfigurableJsonSlurper.groovy:80)
	at io.restassured.path.json.JsonPath$4$1.method(JsonPath.java:965)
	at io.restassured.path.json.JsonPath$ExceptionCatcher.invoke(JsonPath.java:1000)
	... 8 more

Check warning on line 0 in kr.momo.controller.meeting.MeetingControllerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

약속을 잠그면 200 OK를 반환한다. (kr.momo.controller.meeting.MeetingControllerTest) failed

backend/build/test-results/test/TEST-kr.momo.controller.meeting.MeetingControllerTest.xml [took 0s]
Raw output
io.restassured.path.json.exception.JsonPathException: Failed to parse the JSON document
	at app//io.restassured.path.json.JsonPath$ExceptionCatcher.invoke(JsonPath.java:1002)
	at app//io.restassured.path.json.JsonPath$4.doParseWith(JsonPath.java:967)
	at app//io.restassured.path.json.JsonPath$JsonParser.parseWith(JsonPath.java:1047)
	at app//io.restassured.path.json.JsonPath.get(JsonPath.java:202)
	at app//io.restassured.path.json.JsonPath.getString(JsonPath.java:352)
	at app//kr.momo.controller.meeting.MeetingControllerTest.lock(MeetingControllerTest.java:161)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty.
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.path.json.ConfigurableJsonSlurper.parseText(ConfigurableJsonSlurper.groovy:80)
	at io.restassured.path.json.JsonPath$4$1.method(JsonPath.java:965)
	at io.restassured.path.json.JsonPath$ExceptionCatcher.invoke(JsonPath.java:1000)
	... 8 more

Check warning on line 0 in kr.momo.controller.meeting.MeetingControllerTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

존재하지 않는 약속을 잠금 시도하면 404 Not Found를 반환한다. (kr.momo.controller.meeting.MeetingControllerTest) failed

backend/build/test-results/test/TEST-kr.momo.controller.meeting.MeetingControllerTest.xml [took 0s]
Raw output
io.restassured.path.json.exception.JsonPathException: Failed to parse the JSON document
	at app//io.restassured.path.json.JsonPath$ExceptionCatcher.invoke(JsonPath.java:1002)
	at app//io.restassured.path.json.JsonPath$4.doParseWith(JsonPath.java:967)
	at app//io.restassured.path.json.JsonPath$JsonParser.parseWith(JsonPath.java:1047)
	at app//io.restassured.path.json.JsonPath.get(JsonPath.java:202)
	at app//io.restassured.path.json.JsonPath.getString(JsonPath.java:352)
	at app//kr.momo.controller.meeting.MeetingControllerTest.lockWithInvalidUUID(MeetingControllerTest.java:186)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty.
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.path.json.ConfigurableJsonSlurper.parseText(ConfigurableJsonSlurper.groovy:80)
	at io.restassured.path.json.JsonPath$4$1.method(JsonPath.java:965)
	at io.restassured.path.json.JsonPath$ExceptionCatcher.invoke(JsonPath.java:1000)
	... 8 more