From 912e1ead3aa0c03af6f48775954a04a7d7820723 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Wed, 10 Apr 2019 12:09:02 +0300 Subject: [PATCH] Fix new Post creation (since creatorId parameter was removed). --- .../Volo/Abp/Blogging/Posts/Post_Tests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/blogging/test/Volo.Blogging.Domain.Tests/Volo/Abp/Blogging/Posts/Post_Tests.cs b/modules/blogging/test/Volo.Blogging.Domain.Tests/Volo/Abp/Blogging/Posts/Post_Tests.cs index 91aede46a7..2fb96d6b2c 100644 --- a/modules/blogging/test/Volo.Blogging.Domain.Tests/Volo/Abp/Blogging/Posts/Post_Tests.cs +++ b/modules/blogging/test/Volo.Blogging.Domain.Tests/Volo/Abp/Blogging/Posts/Post_Tests.cs @@ -13,7 +13,7 @@ namespace Volo.Blogging [Fact] public void IncreaseReadCount() { - var post = new Post(Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); + var post = new Post(Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); post.IncreaseReadCount(); post.ReadCount.ShouldBe(1); } @@ -23,7 +23,7 @@ namespace Volo.Blogging [InlineData("bbb")] public void SetTitle(string title) { - var post = new Post(Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); + var post = new Post(Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); post.SetTitle(title); post.Title.ShouldBe(title); } @@ -33,7 +33,7 @@ namespace Volo.Blogging [InlineData("bbb")] public void SetUrl(string url) { - var post = new Post(Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); + var post = new Post(Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); post.SetUrl(url); post.Url.ShouldBe(url); } @@ -41,7 +41,7 @@ namespace Volo.Blogging [Fact] public void AddTag() { - var post = new Post(Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); + var post = new Post(Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); var tagId = Guid.NewGuid(); post.AddTag(tagId); post.Tags.ShouldContain(x => x.TagId == tagId); @@ -51,7 +51,7 @@ namespace Volo.Blogging [Fact] public void RemoveTag() { - var post = new Post(Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); + var post = new Post(Guid.NewGuid(), Guid.NewGuid(), "abp", "⊙o⊙", "abp.io"); var tagId = Guid.NewGuid(); post.AddTag(tagId);