From a902e5e37a411536ed53eb115293963a752da14d Mon Sep 17 00:00:00 2001 From: Erika Gressi <56914614+eriqua@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:22:45 +0200 Subject: [PATCH] fix: Add AVM tests unit placeholder where missing (#585) ## Description - Add placeholder `tests/unit/custom.tests.ps1` file where missing - Fixed typo in guidelines for the file [![avm.res.insights.action-group](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.action-group.yml/badge.svg?branch=fix%2Ftests-unit)](https://github.com/eriqua/bicep-registry-modules/actions/workflows/avm.res.insights.action-group.yml) --- .../account/tests/unit/custom.tests.ps1 | 10 +++++----- .../ssh-public-key/tests/unit/custom.tests.ps1 | 7 +++++++ .../action-group/tests/unit/custom.tests.ps1 | 7 +++++++ .../key-vault/vault/tests/unit/custom.tests.ps1 | 16 +++++----------- .../extension/tests/unit/custom.tests.ps1 | 7 +++++++ .../tests/unit/custom.tests.ps1 | 16 +++++----------- .../dns-resolver/tests/unit/custom.tests.ps1 | 7 +++++++ .../private-endpoint/tests/unit/custom.tests.ps1 | 16 +++++----------- .../tests/unit/custom.tests.ps1 | 16 +++++----------- 9 files changed, 53 insertions(+), 49 deletions(-) create mode 100644 avm/res/compute/ssh-public-key/tests/unit/custom.tests.ps1 create mode 100644 avm/res/insights/action-group/tests/unit/custom.tests.ps1 create mode 100644 avm/res/kubernetes-configuration/extension/tests/unit/custom.tests.ps1 create mode 100644 avm/res/network/dns-resolver/tests/unit/custom.tests.ps1 diff --git a/avm/res/cognitive-services/account/tests/unit/custom.tests.ps1 b/avm/res/cognitive-services/account/tests/unit/custom.tests.ps1 index 649bfe5cf3..7b6a615b7b 100644 --- a/avm/res/cognitive-services/account/tests/unit/custom.tests.ps1 +++ b/avm/res/cognitive-services/account/tests/unit/custom.tests.ps1 @@ -1,7 +1,7 @@ -############################# -## Addition unit tests ## -############################# +########################### +## Additional unit tests ## +########################### ## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. ## -############################# \ No newline at end of file +########################### \ No newline at end of file diff --git a/avm/res/compute/ssh-public-key/tests/unit/custom.tests.ps1 b/avm/res/compute/ssh-public-key/tests/unit/custom.tests.ps1 new file mode 100644 index 0000000000..7b6a615b7b --- /dev/null +++ b/avm/res/compute/ssh-public-key/tests/unit/custom.tests.ps1 @@ -0,0 +1,7 @@ +########################### +## Additional unit tests ## +########################### +## +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. +## +########################### \ No newline at end of file diff --git a/avm/res/insights/action-group/tests/unit/custom.tests.ps1 b/avm/res/insights/action-group/tests/unit/custom.tests.ps1 new file mode 100644 index 0000000000..7b6a615b7b --- /dev/null +++ b/avm/res/insights/action-group/tests/unit/custom.tests.ps1 @@ -0,0 +1,7 @@ +########################### +## Additional unit tests ## +########################### +## +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. +## +########################### \ No newline at end of file diff --git a/avm/res/key-vault/vault/tests/unit/custom.tests.ps1 b/avm/res/key-vault/vault/tests/unit/custom.tests.ps1 index 17893bc0fc..7b6a615b7b 100644 --- a/avm/res/key-vault/vault/tests/unit/custom.tests.ps1 +++ b/avm/res/key-vault/vault/tests/unit/custom.tests.ps1 @@ -1,13 +1,7 @@ -############################# -## Addition unit tests ## -############################# +########################### +## Additional unit tests ## +########################### ## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. ## -########################################################## -## Addition unit tests ## -############################# -## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. -## -############################# \ No newline at end of file +########################### \ No newline at end of file diff --git a/avm/res/kubernetes-configuration/extension/tests/unit/custom.tests.ps1 b/avm/res/kubernetes-configuration/extension/tests/unit/custom.tests.ps1 new file mode 100644 index 0000000000..7b6a615b7b --- /dev/null +++ b/avm/res/kubernetes-configuration/extension/tests/unit/custom.tests.ps1 @@ -0,0 +1,7 @@ +########################### +## Additional unit tests ## +########################### +## +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. +## +########################### \ No newline at end of file diff --git a/avm/res/kubernetes-configuration/flux-configuration/tests/unit/custom.tests.ps1 b/avm/res/kubernetes-configuration/flux-configuration/tests/unit/custom.tests.ps1 index 17893bc0fc..7b6a615b7b 100644 --- a/avm/res/kubernetes-configuration/flux-configuration/tests/unit/custom.tests.ps1 +++ b/avm/res/kubernetes-configuration/flux-configuration/tests/unit/custom.tests.ps1 @@ -1,13 +1,7 @@ -############################# -## Addition unit tests ## -############################# +########################### +## Additional unit tests ## +########################### ## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. ## -########################################################## -## Addition unit tests ## -############################# -## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. -## -############################# \ No newline at end of file +########################### \ No newline at end of file diff --git a/avm/res/network/dns-resolver/tests/unit/custom.tests.ps1 b/avm/res/network/dns-resolver/tests/unit/custom.tests.ps1 new file mode 100644 index 0000000000..7b6a615b7b --- /dev/null +++ b/avm/res/network/dns-resolver/tests/unit/custom.tests.ps1 @@ -0,0 +1,7 @@ +########################### +## Additional unit tests ## +########################### +## +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. +## +########################### \ No newline at end of file diff --git a/avm/res/network/private-endpoint/tests/unit/custom.tests.ps1 b/avm/res/network/private-endpoint/tests/unit/custom.tests.ps1 index 17893bc0fc..7b6a615b7b 100644 --- a/avm/res/network/private-endpoint/tests/unit/custom.tests.ps1 +++ b/avm/res/network/private-endpoint/tests/unit/custom.tests.ps1 @@ -1,13 +1,7 @@ -############################# -## Addition unit tests ## -############################# +########################### +## Additional unit tests ## +########################### ## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. ## -########################################################## -## Addition unit tests ## -############################# -## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. -## -############################# \ No newline at end of file +########################### \ No newline at end of file diff --git a/avm/res/network/public-ip-address/tests/unit/custom.tests.ps1 b/avm/res/network/public-ip-address/tests/unit/custom.tests.ps1 index 21302ce2c6..7b6a615b7b 100644 --- a/avm/res/network/public-ip-address/tests/unit/custom.tests.ps1 +++ b/avm/res/network/public-ip-address/tests/unit/custom.tests.ps1 @@ -1,13 +1,7 @@ -############################# -## Addition unit tests ## -############################# +########################### +## Additional unit tests ## +########################### ## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. +## You can add any custom static validation tests you want here, or add them spread accross multiple test files in the unit folder. ## -########################################################## -## Addition unit tests ## -############################# -## -## You can add any custom static validation tests you want here, or add them spread accross multple test files in the unit folder. -## -############################# +########################### \ No newline at end of file