public async Task Setup() { LibraryBuilder.AssignToUser(AccountId).Build(4); _response = await Client.GetAsync($"/libraries"); _assert = new PagingAssert <LibraryView>(_response); }
public async Task Setup() { LibraryBuilder.AssignToUser(AccountId, Role.Writer).Build(15); _response = await Client.GetAsync($"/libraries?pageNumber=3&pageSize=5"); _assert = new PagingAssert <LibraryView>(_response); }
public async Task Setup() { LibraryBuilder.AssignToUser(AccountId, Role.Writer).StartingWith(_startWith).Build(4); _response = await Client.GetAsync($"/libraries?query={_startWith}"); _assert = new PagingAssert <LibraryView>(_response); }