@@ -0,0 +1,577 @@
+package com.ksoichiro.task.config;%0A%0Aimport org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;%0Aimport org.springframework.boot.autoconfigure.web.DefaultErrorAttributes;%0Aimport org.springframework.boot.autoconfigure.web.ErrorAttributes;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.context.annotation.Configuration;%0A%0A@Configuration%0Apublic class TestConfig %7B%0A    @Bean%0A    @ConditionalOnMissingBean(ErrorAttributes.class)%0A    public ErrorAttributes errorAttributes() %7B%0A        return new DefaultErrorAttributes();%0A    %7D%0A%7D%0A

Fix tests to autowire ErrorAttributes