Marten的活动

Ok, so it seems the issue is that the test classes get generated by ABP Suite without being added to the test collection.

After decorating the generated test-classes with [Collection(MyProjectTestConsts.CollectionDefinitionName)] all tests can be run together.

Is this by design or a bug in the code generator?

Tried some more and the tests seem to work at first when a new project is generated but start failing after an entity has been generated.

Hi

I have the same question basically, I did a test as mentioned above adding a nested object on the entity directly in the repository and it worked fine saving the nested data in mongodb.

Are there any plans on adding support for nested objects in ABP Suite?

That was it, thank you!

I have hangfire implemented in a separate module and was calling UseHangfireDashboard in OnApplicationInitialization which when I debugged to test got called after OnApplicationInitialization of the ApiHost-module.

I moved UseHangfireDashboardto OnPostApplicationInitialization and everything works fine.

Thanks again for fast replies and help!

Hi,

I copied AbpHangfireAuthorizationFilter from the PR and added a dependency from my module where I have implemented hangfire to AbpAuthorizationAbstractionsModule but the IsLoggedIn-check in that authorization filter also returns false.

The way I log in is navigating on host domain to /account/login which then redirects to /swagger and then I type /hangfire in the url field, is that the correct way to authenticate that should be working?

显示 5 个条目中的 1 到 5 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11