Browse Source
Update Part-4.md
fix class BookAppService_Tests definition
pull/19292/head
易墨
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
2 deletions
-
docs/zh-Hans/Tutorials/Part-4.md
|
|
|
@ -91,7 +91,8 @@ using Xunit; |
|
|
|
namespace Acme.BookStore.Books |
|
|
|
{ {{if DB=="Mongo"}} |
|
|
|
[Collection(BookStoreTestConsts.CollectionDefinitionName)]{{end}} |
|
|
|
public class BookAppService_Tests : BookStoreApplicationTestBase |
|
|
|
public abstract class BookAppService_Tests<TStartupModule> : BookStoreApplicationTestBase<TStartupModule> |
|
|
|
where TStartupModule : IAbpModule |
|
|
|
{ |
|
|
|
private readonly IBookAppService _bookAppService; |
|
|
|
|
|
|
|
@ -182,7 +183,8 @@ using Xunit; |
|
|
|
namespace Acme.BookStore.Books |
|
|
|
{ {{if DB=="Mongo"}} |
|
|
|
[Collection(BookStoreTestConsts.CollectionDefinitionName)]{{end}} |
|
|
|
public class BookAppService_Tests : BookStoreApplicationTestBase |
|
|
|
public abstract class BookAppService_Tests<TStartupModule> : BookStoreApplicationTestBase<TStartupModule> |
|
|
|
where TStartupModule : IAbpModule |
|
|
|
{ |
|
|
|
private readonly IBookAppService _bookAppService; |
|
|
|
|
|
|
|
|