mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-23 00:28:40 +00:00
Use Pulumi to provision and Nix to configure (#12)
This commit is contained in:
@@ -23,8 +23,7 @@ module TestSchema =
|
||||
|
||||
let schema = JsonSchema.FromJsonAsync(File.ReadAllText schemaFile.FullName).Result
|
||||
|
||||
let json =
|
||||
Utils.getEmbeddedResource typeof<Utils.Dummy>.Assembly "exampleconfig.json"
|
||||
let json = Utils.getEmbeddedResource typeof<Utils.Dummy>.Assembly "config.json"
|
||||
|
||||
let validator = JsonSchemaValidator ()
|
||||
let errors = validator.Validate (json, schema)
|
||||
@@ -33,8 +32,7 @@ module TestSchema =
|
||||
|
||||
[<Test>]
|
||||
let ``Example can be loaded`` () =
|
||||
let config =
|
||||
Utils.getEmbeddedResource typeof<Utils.Dummy>.Assembly "exampleconfig.json"
|
||||
let config = Utils.getEmbeddedResource typeof<Utils.Dummy>.Assembly "config.json"
|
||||
|
||||
use stream = new MemoryStream ()
|
||||
|
||||
|
Reference in New Issue
Block a user