Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
updating Appveyor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scrthq committed Jul 3, 2017
1 parent 48a132c commit edf751e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Vaporshell.Tests.ps1
Expand Up @@ -86,10 +86,10 @@ Describe "Initialize/Export/Import PS$PSVersion" {
$testPath = "C:\projects\Vaporshell\Template.json"
$templateInit = $null
$templateInit = Initialize-Vaporshell -Description "Testing template build"
$templateInit.AddParameter((New-VaporParameter -LogicalId "EnvType" -Type String -Default "test" -AllowedValues "test","prod" -Description "Environment type"))
$templateInit.AddParameter((New-VaporParameter -LogicalId "EnvTypeString" -Type String -Default "test" -AllowedValues "test","prod" -Description "Environment type"))
$templateInit.AddMetadata((New-VaporMetadata -LogicalId "Instances" -Metadata @{"Description" = "Information about the instances"}))
$templateInit.AddCondition(
(New-VaporCondition -LogicalId "CreateProdResources" -Condition (Add-ConEquals -FirstValue (Add-FnRef -Ref "EnvType") -SecondValue "prod")),
(New-VaporCondition -LogicalId "CreateProdResources" -Condition (Add-ConEquals -FirstValue (Add-FnRef -Ref "EnvTypeString") -SecondValue "prod")),
(Add-Include -Location "s3://MyAmazonS3BucketName/single_wait_condition.yaml")
)
$templateInit.AddMapping(
Expand Down Expand Up @@ -130,7 +130,7 @@ Describe "Initialize/Export/Import PS$PSVersion" {
)
$template.AddCondition(
(
New-VaporCondition -LogicalId "CreateTestResources" -Condition (Add-ConEquals -FirstValue (Add-FnRef -Ref "EnvType") -SecondValue "test")
New-VaporCondition -LogicalId "CreateTestResources" -Condition (Add-ConEquals -FirstValue (Add-FnRef -Ref "EnvTypeString") -SecondValue "test")
)
)
$template.AddMapping(
Expand Down

0 comments on commit edf751e

Please sign in to comment.