Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix unit tests #612

Merged
merged 1 commit into from
Mar 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#requires -module arm-ttk
. $PSScriptRoot\..\arm-ttk.test.functions.ps1
Test-TTK $psScriptRoot
return

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"parameters": {
"_artifactsLocation": {
"type": "securestring", //this type is ok, so is the defaultValue (if you pass in the params)
"defaultValue": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/sample-path-for-unit-tests-do-not-change/"
// unit tests can't do this yet
//"defaultValue": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/sample-path-for-unit-tests-do-not-change/"
"defaultValue": "[deployment().properties.templateLink.uri]"
},
"_artifactsLocationSasToken": {
"type": "securestring",
Expand Down
6 changes: 6 additions & 0 deletions unit-tests/artifacts-parameter/artifacts-parameter.tests.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

#requires -module arm-ttk
. $PSScriptRoot\..\arm-ttk.test.functions.ps1
Test-TTK $psScriptRoot
return

52 changes: 0 additions & 52 deletions unit-tests/artifacts-parameter/run-unittests.ps1

This file was deleted.