mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-1742 Check for float != null rather than empty.
It doesn't really make sense to check if a float is empty, although the TAS library seems to allow checking if integers and longs are empty for some reason.
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ public class SearchTest extends AbstractSearchServicesE2ETest
|
||||
|
||||
SearchNodeModel entity = nodes.getEntryByIndex(0);
|
||||
entity.assertThat().field("search").contains("score");
|
||||
entity.getSearch().assertThat().field("score").isNotEmpty();
|
||||
entity.getSearch().assertThat().field("score").isNotNull();
|
||||
Assert.assertEquals(entity.getName(),"pangram.txt");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user