Base solution for your next web application

Activities of "gpicazo"

Answer

@aaron - thanks, that worked

Answer

Hi,

I am also using the regular aspnet core (2.2)/angular solution v6.9.1 and also have most of my unit tests failing -- most with the below error. Note that I have disabled multi-tenancy.

Any help would be appreciated.

Oh, and also, why was the above change needed for @MellowoodMedical's solution?

Thanks, Genaro


Test Name: Cssc.LessToRemember.GraphQL.Tests.OrganizationUnits.OrganizationUnitQuery_Tests.Should_Get_OrganizationUnits Test FullName: Cssc.LessToRemember.GraphQL.Tests.OrganizationUnits.OrganizationUnitQuery_Tests.Should_Get_OrganizationUnits Test Source: C:\Dev\CompositeStack\Cssc.LessToRemember.Api\test\Cssc.LessToRemember.GraphQL.Tests\OrganizationUnits\OrganizationUnitQuery_Tests.cs : line 11 Test Outcome: Failed Test Duration: 0:00:00.001

Result StackTrace: at Cssc.LessToRemember.Migrations.Seed.Host.DefaultSettingsCreator.Create() in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\src\Cssc.LessToRemember.EntityFrameworkCore\Migrations\Seed\Host\DefaultSettingsCreator.cs:line 27 at Cssc.LessToRemember.Migrations.Seed.Host.InitialHostDbBuilder.Create() in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\src\Cssc.LessToRemember.EntityFrameworkCore\Migrations\Seed\Host\InitialHostDbBuilder.cs:line 19 at Cssc.LessToRemember.Migrations.Seed.SeedHelper.SeedHostDb(LessToRememberDbContext context) in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\src\Cssc.LessToRemember.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 26 at Cssc.LessToRemember.Migrations.Seed.SeedHelper.WithDbContext[TDbContext](IIocResolver iocResolver, Action1 contextAction) in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\src\Cssc.LessToRemember.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 42 at Cssc.LessToRemember.Migrations.Seed.SeedHelper.SeedHostDb(IIocResolver iocResolver) in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\src\Cssc.LessToRemember.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 18 at Cssc.LessToRemember.EntityFrameworkCore.LessToRememberEntityFrameworkCoreModule.PostInitialize() in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\src\Cssc.LessToRemember.EntityFrameworkCore\EntityFrameworkCore\LessToRememberEntityFrameworkCoreModule.cs:line 61 at System.Collections.Generic.List1.ForEach(Action1 action) at Abp.AbpBootstrapper.Initialize() in D:\Github\aspnetboilerplate\src\Abp\AbpBootstrapper.cs:line 155 at Abp.TestBase.AbpIntegratedTestBase1.InitializeAbp() in D:\Github\aspnetboilerplate\src\Abp.TestBase\TestBase\AbpIntegratedTestBase.cs:line 53 at Cssc.LessToRemember.Test.Base.AppTestBase1..ctor() in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\test\Cssc.LessToRemember.Test.Base\AppTestBase.cs:line 30 at Cssc.LessToRemember.GraphQL.Tests.GraphQLTestBase2..ctor() in C:\Dev\CompositeStack\Cssc.LessToRemember.Api\test\Cssc.LessToRemember.GraphQL.Tests\GraphQLTestBase.cs:line 36 at Cssc.LessToRemember.GraphQL.Tests.GraphQLTestBase`1..ctor() at Cssc.LessToRemember.GraphQL.Tests.OrganizationUnits.OrganizationUnitQuery_Tests..ctor() Result Message: System.NullReferenceException : Object reference not set to an instance of an object.

Showing 1 to 2 of 2 entries