mirror of
				https://github.com/spring-projects/spring-data-elasticsearch.git
				synced 2025-10-30 22:28:47 +00:00 
			
		
		
		
	
							parent
							
								
									512e9eacad
								
							
						
					
					
						commit
						92c3bbebed
					
				| @ -277,6 +277,7 @@ public class SimpleElasticsearchRepositoryTests { | ||||
| 
 | ||||
| 	@Test // DATAES-363 | ||||
| 	public void shouldReturnFalseGivenDocumentWithIdDoesNotExist() { | ||||
| 		 | ||||
| 		// given | ||||
| 		String documentId = randomNumeric(5); | ||||
| 
 | ||||
| @ -284,7 +285,7 @@ public class SimpleElasticsearchRepositoryTests { | ||||
| 		boolean exist = repository.existsById(documentId); | ||||
| 
 | ||||
| 		// then | ||||
| 		assertEquals(exist, false); | ||||
| 		assertThat(exist, is(false)); | ||||
| 	} | ||||
| 
 | ||||
| 	@Test | ||||
|  | ||||
| @ -265,6 +265,7 @@ public class UUIDElasticsearchRepositoryTests { | ||||
| 
 | ||||
| 	@Test // DATAES-363 | ||||
| 	public void shouldReturnFalseGivenDocumentWithIdDoesNotExist() { | ||||
| 		 | ||||
| 		// given | ||||
| 		UUID documentId = UUID.randomUUID(); | ||||
| 
 | ||||
| @ -272,7 +273,7 @@ public class UUIDElasticsearchRepositoryTests { | ||||
| 		boolean exist = repository.existsById(documentId); | ||||
| 
 | ||||
| 		// then | ||||
| 		assertEquals(exist, false); | ||||
| 		assertThat(exist, is(false)); | ||||
| 	} | ||||
| 
 | ||||
| 	@Test | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user