Skip to content

Commit

Permalink
fixture naming and local-state dependent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamero authored Oct 29, 2024
1 parent 6885879 commit 0bc9d13
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions pkg/handlers/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ func TestTemplateHandlerValidation(t *testing.T) {
},
},
{
name: "valid azpipeline manifest deployment",
templateName: "azure-pipeline-manifest",
fixturesBaseDir: "../fixtures/workflows/azurepipelines/manifest",
name: "valid azpipeline manifests deployment",
templateName: "azure-pipeline-manifests",
fixturesBaseDir: "../fixtures/workflows/azurepipelines/manifests",
version: "0.0.1",
dest: ".",
templateWriter: &writers.FileMapWriter{},
Expand Down
8 changes: 0 additions & 8 deletions pkg/providers/providersutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ import (
"github.com/stretchr/testify/assert"
)

func TestLoggedInToAz(t *testing.T) {
assert.False(t, IsLoggedInToAz(), "AZ is returning logged in even when logged out")
}

func TestLoggedInToGh(t *testing.T) {
assert.False(t, IsLoggedInToGh(), "Github is returning logged in even when logged out")
}

func TestCheckAzCliInstalled(t *testing.T) {
var err error
CheckAzCliInstalled()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
templateName: "azure-pipeline-manifest"
templateName: "azure-pipeline-manifests"
description: "Azure Pipeline for deploying a containerized application to AKS using kubernetes manifests"
versions: "0.0.1"
defaultVersion: "0.0.1"
Expand Down

0 comments on commit 0bc9d13

Please sign in to comment.