Skip to content

Commit

Permalink
[Fixes] Tags: Removed unused param (#3936)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr authored Sep 7, 2023
1 parent 1766e5d commit 622f841
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
14 changes: 3 additions & 11 deletions modules/resources/tags/.test/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,20 @@ targetScope = 'subscription'
// Test Cases //
// ========== //

var namePrefix = 'crml'

// TEST 1 - MIN
module min 'min/main.test.bicep' = {
name: '${uniqueString(deployment().name)}-min-test'
params: {
namePrefix: namePrefix
}
params: {}
}

// TEST 2 - RG
module rg 'rg/main.test.bicep' = {
name: '${uniqueString(deployment().name)}-rg-test'
params: {
namePrefix: namePrefix
}
params: {}
}

// TEST 3 - SUB
module sub 'sub/main.test.bicep' = {
name: '${uniqueString(deployment().name)}-sub-test'
params: {
namePrefix: namePrefix
}
params: {}
}
3 changes: 0 additions & 3 deletions modules/resources/tags/.test/min/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ param serviceShort string = 'rtmin'
@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).')
param enableDefaultTelemetry bool = true

@description('Optional. A token to inject into the name of each resource.')
param namePrefix string = '[[namePrefix]]'

// ============== //
// Test Execution //
// ============== //
Expand Down
3 changes: 0 additions & 3 deletions modules/resources/tags/.test/rg/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ param serviceShort string = 'rtrg'
@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).')
param enableDefaultTelemetry bool = true

@description('Optional. A token to inject into the name of each resource.')
param namePrefix string = '[[namePrefix]]'

// ============ //
// Dependencies //
// ============ //
Expand Down
3 changes: 0 additions & 3 deletions modules/resources/tags/.test/sub/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ param serviceShort string = 'rtsub'
@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).')
param enableDefaultTelemetry bool = true

@description('Optional. A token to inject into the name of each resource.')
param namePrefix string = '[[namePrefix]]'

// ============== //
// Test Execution //
// ============== //
Expand Down

0 comments on commit 622f841

Please sign in to comment.