Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Update stack test for GitLab
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Feb 25, 2020
1 parent 0d72394 commit f3277af
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/stack/stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package stack
import (
"strings"
"testing"

"github.com/openfaas-incubator/ofc-bootstrap/pkg/types"
)

func Test_applyTemplateWithAuth(t *testing.T) {
Expand Down Expand Up @@ -42,8 +40,9 @@ func Test_gitlabTemplates(t *testing.T) {

gitlabTemplateFileName := "../../templates/gitlab.yml"

generatedValue, err := applyTemplate(gitlabTemplateFileName, types.Gitlab{
GitLabInstance: gitLabInstance,
generatedValue, err := applyTemplate(gitlabTemplateFileName, gitlabConfig{
GitLabInstance: gitLabInstance,
CustomersSecretPath: "",
})

if err != nil {
Expand Down

0 comments on commit f3277af

Please sign in to comment.