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:
Tom Page
2019-08-02 13:41:22 +01:00
parent 17201507a3
commit 6d69399d7c
@@ -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");
}