Skip to content

Commit a443ae0

Browse files
Fix tests
1 parent db3d137 commit a443ae0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Service.Tests/Configuration/ConfigurationTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4306,19 +4306,19 @@ public void TestAutoEntitiesSerializationDeserialization(
43064306
{
43074307
TestHelper.SetupDatabaseEnvironment(MSSQL_ENVIRONMENT);
43084308

4309-
Dictionary<string, AutoEntity> createdAutoentity = new();
4309+
Dictionary<string, Autoentity> createdAutoentity = new();
43104310
createdAutoentity.Add("test-entity",
4311-
new AutoEntity(
4312-
Patterns: new AutoEntityPatterns(include, exclude, name),
4313-
Template: new AutoEntityTemplate(
4311+
new Autoentity(
4312+
Patterns: new AutoentityPatterns(include, exclude, name),
4313+
Template: new AutoentityTemplate(
43144314
Rest: restEnabled == null ? null : new EntityRestOptions(Enabled: (bool)restEnabled),
43154315
GraphQL: graphqlEnabled == null ? null : new EntityGraphQLOptions(Singular: string.Empty, Plural: string.Empty, Enabled: (bool)graphqlEnabled),
43164316
Health: new EntityHealthCheckConfig(healthCheckEnabled),
43174317
Cache: new EntityCacheOptions(Enabled: cacheEnabled, TtlSeconds: cacheTTL, Level: cacheLevel)
43184318
),
43194319
Permissions: new EntityPermission[1]));
43204320
createdAutoentity["test-entity"].Permissions[0] = new EntityPermission(role, entityActions);
4321-
RuntimeAutoEntities autoentities = new(createdAutoentity);
4321+
RuntimeAutoentities autoentities = new(createdAutoentity);
43224322

43234323
FileSystemRuntimeConfigLoader baseLoader = TestHelper.GetRuntimeConfigLoader();
43244324
baseLoader.TryLoadKnownConfig(out RuntimeConfig? baseConfig);

0 commit comments

Comments
 (0)