public async Task CreateSchema_EndToEnd() { var schemaName = GetRandomName; await SchemaClient.AssertNoSchemasExist("aut", delay : TimeSpan.FromSeconds(0.5)); var createresult = await SchemaClient.CreateSchema("aut", AssetLoader.Schema1(schemaName)); await SchemaClient.AssertSchemaMustExist("aut", schemaName, TimeSpan.FromSeconds(0.5)); var deleteresult = await SchemaClient.DeleteSchema("aut", schemaName); await SchemaClient.AssertNoSchemasExist("aut", delay : TimeSpan.FromSeconds(0.5)); }
public async Task SchemaImport_Execute_EndToEnd() { var name1 = GetRandomSchemaName; await SchemaClient.AssertNoSchemasExist("aut", delay : TimeSpan.FromSeconds(0.5)); await SchemaStories.ImportSchema(SchemaImportSystemUnderTest, "aut", name1, AssetLoader.AsPath(AssetLoader.Schema1Name)); await SchemaClient.AssertSchemaMustExist("aut", name1, delay : TimeSpan.FromSeconds(0.5)); await SchemaClient.DeleteSchema("aut", name1); await SchemaClient.AssertNoSchemasExist("aut", delay : TimeSpan.FromSeconds(0.5)); }