HttpRequestMethodNotSupportedException
Tests
Test |
Duration |
Result |
Response는_RFC7807를_준수해야한다() |
0.094s |
passed |
status_405와_message가_와야한다() |
0.007s |
passed |
Standard output
?[32m[INFO ]?[m 08-27 17:04:45 [Test worker]
[] Could not detect default configuration classes for test class [com.github.can019.global.handler.GlobalExceptionHandlerTest$ServletExceptionTest$HttpRequestMethodNotSupportedExceptionTest]: HttpRequestMethodNotSupportedExceptionTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
?[32m[INFO ]?[m 08-27 17:04:45 [Test worker]
[] Found @SpringBootConfiguration com.github.can019.BaseApplication for test class com.github.can019.global.handler.GlobalExceptionHandlerTest$ServletExceptionTest$HttpRequestMethodNotSupportedExceptionTest
?[32m[INFO ]?[m 08-27 17:04:45 [Test worker]
[] Restart disabled due to context in which it is running
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
?[32m :: Spring Boot :: ?[39m ?[2m (v3.2.5)?[0;39m
?[32m[INFO ]?[m 08-27 17:04:46 [Test worker]
[] Initializing Spring TestDispatcherServlet ''
?[32m[INFO ]?[m 08-27 17:04:46 [Test worker]
[] Initializing Servlet ''
?[32m[INFO ]?[m 08-27 17:04:46 [Test worker]
[] Completed initialization in 0 ms
?[33m[WARN ]?[m 08-27 17:04:46 [Test worker]
[0b144223] Request method 'GET' is not supported
?[33m[WARN ]?[m 08-27 17:04:46 [Test worker]
[a6359f5d] Request method 'GET' is not supported