Skip to content

Commit 4f7732e

Browse files
committed
Fix unit test.
1 parent 934e28b commit 4f7732e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/AbpCompanyName.AbpProjectName.WebMpa/Web.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
3939
</assemblies>
4040
</compilation>
41-
<httpRuntime targetFramework="4.5.1" />
42-
<customErrors mode="On" />
41+
<httpRuntime targetFramework="4.6.1" />
42+
<customErrors mode="RemoteOnly" />
4343
</system.web>
4444
<runtime>
4545
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

src/Tests/AbpCompanyName.AbpProjectName.Tests/Users/UserAppService_Tests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ await _userAppService.Create(
3939
Name = "John",
4040
Surname = "Nash",
4141
Password = "123qwe",
42-
UserName = "john.nash"
42+
UserName = "john.nash",
43+
RoleNames = new string[0]
4344
});
4445

4546
await UsingDbContextAsync(async context =>

0 commit comments

Comments
 (0)