Closed samanazadi1996 closed 2 months ago
Thanks
The FunctionalTests project does not build with these changes, because the Contributor1 and Contributor2 properties @samanazadi1996 removed are used by the unit tests. Also the CustomWebApplicationFactory uses PopulateTestData in a synchronous override. Please revert or fix the Tests.
Test errors were fixed in the new PR
In this commit, the Initialize and PopulateTestData methods in the SeedData class have been modified to be async. Additionally, the SeedDatabase method has been converted to an async method. These changes improve the performance and responsiveness of the application by allowing database seeding operations to be performed asynchronously, enhancing the overall program efficiency.