Skip to content

[BE] api 명세에서 행사 url을 표현하는 용어와 전달 방식 수정 #39

[BE] api 명세에서 행사 url을 표현하는 용어와 전달 방식 수정

[BE] api 명세에서 행사 url을 표현하는 용어와 전달 방식 수정 #39

GitHub Actions / JUnit Test Report failed Jul 24, 2024 in 0s

38 tests run, 37 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 52 in server/src/test/java/server/haengdong/presentation/EventControllerTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

EventControllerTest.이벤트를 생성한다.

java.lang.AssertionError: Redirected URL expected:<events/TOKEN> but was:<null>
Raw output
java.lang.AssertionError: Redirected URL expected:<events/TOKEN> but was:<null>
	at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:59)
	at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:122)
	at org.springframework.test.web.servlet.result.MockMvcResultMatchers.lambda$redirectedUrl$2(MockMvcResultMatchers.java:130)
	at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
	at server.haengdong.presentation.EventControllerTest.saveEvent(EventControllerTest.java:52)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)