test are green !?!
This commit is contained in:
parent
cbe307033b
commit
d0186d41b0
25 changed files with 145 additions and 230 deletions
|
|
@ -16,7 +16,7 @@ public class PostItViewModelTests
|
|||
// throws on any call (we never call the API in this test).
|
||||
var fakeApi = new ThrowingYavscApiClient();
|
||||
var blog = new BlogApiClient(fakeApi, "http://localhost/");
|
||||
var viewModel = new MainPageViewModel(blog);
|
||||
var viewModel = new MainViewModel(blog);
|
||||
|
||||
viewModel.Posts.Add(new BlogPostDto { Id = 1, Title = "First post", Article = "Hello world", AuthorId = "alice" });
|
||||
viewModel.Posts.Add(new BlogPostDto { Id = 2, Title = "Second post", Article = "Nothing here", AuthorId = "bob" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue