Polish test
This test should not rely on a particular content-type as none is defined on the producing end, not on the requesting end.
This commit is contained in:
		
							parent
							
								
									3b91eea0b7
								
							
						
					
					
						commit
						5613922fba
					
				| 
						 | 
				
			
			@ -68,7 +68,6 @@ class RequestMappingIntegrationTests extends AbstractRequestMappingIntegrationTe
 | 
			
		|||
		HttpHeaders headers = getRestTemplate().headForHeaders(url);
 | 
			
		||||
		String contentType = headers.getFirst("Content-Type");
 | 
			
		||||
		assertThat(contentType).isNotNull();
 | 
			
		||||
		assertThat(contentType.toLowerCase()).isEqualTo("text/html;charset=utf-8");
 | 
			
		||||
		assertThat(headers.getContentLength()).isEqualTo(3);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue