Skip to content

Test initializer does not use Database.EnsureCreatedAsync consistently #11524

@ysmoradi

Description

@ysmoradi

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The test initializer does not use Database.EnsureCreatedAsync like the entry points of Server.Api and Server.Web, leading to inconsistent behavior during database setup.

Expected Behavior

Test initializer should use Database.EnsureCreatedAsync for consistency.

Steps To Reproduce

Compare database setup in test initializer with Server.Api and Server.Web.

Exceptions (if any)

No response

.NET Version

No response

Anything else?

See parent issue #11512 and PR #11513.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions