public async Task TimelineSearch_Should_Work() { await TimelineService.CreateTimelineAsync("hahaha", UserId); var t2 = await TimelineService.CreateTimelineAsync("bababa", UserId); await TimelineService.ChangePropertyAsync(t2.Id, new TimelineChangePropertyParams { Title = "hahaha" }); await TimelineService.CreateTimelineAsync("bbbbbb", UserId); var searchResult = await _service.SearchTimelineAsync("hah"); searchResult.Items.Should().HaveCount(2); searchResult.Items[0].Item.Name.Should().Be("hahaha"); searchResult.Items[0].Score.Should().Be(2); searchResult.Items[1].Item.Name.Should().Be("bababa"); searchResult.Items[1].Score.Should().Be(1); }