public async Task OverflownQueryReturnsFirstPage() { var qry = new OrganizationSmartSearchQuery(DocumentStore); var res = await qry.Execute(new SmartSearchQueryRequest { Qry = "*", CurrentPage = 100, PageSize = 10 }); Assert.That(res.Data.Count, Is.EqualTo(2)); }
public async Task CanExecute() { var qry = new OrganizationSmartSearchQuery(DocumentStore); var res = await qry.Execute(new SmartSearchQueryRequest { Qry = "*", CurrentPage = 0, PageSize = 1 }); }