Skip to content

Commit

Permalink
test(pact): allow pull without authentication (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katka92 authored Jan 31, 2024
1 parent ebf7b48 commit c8dade7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/pact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package contracts
import (
"crypto/tls"
"crypto/x509"
"encoding/base64"
"fmt"
"os"
"path/filepath"
Expand Down Expand Up @@ -65,8 +64,6 @@ func TestContracts(t *testing.T) {
}

func createVerifier(t *testing.T) provider.VerifyRequest {
brokerUsername, _ := base64.StdEncoding.DecodeString("cGFjdENvbW1vblVzZXI=")
brokerPassword, _ := base64.StdEncoding.DecodeString("cGFjdENvbW1vblBhc3N3b3JkMTIz")
verifyRequest := provider.VerifyRequest{
Provider: "HAS",
RequestTimeout: 60 * time.Second,
Expand All @@ -75,8 +72,6 @@ func createVerifier(t *testing.T) provider.VerifyRequest {
ConsumerVersionSelectors: []provider.Selector{&provider.ConsumerVersionSelector{Branch: "main"}},
BrokerURL: "https://pact-broker-hac-pact-broker.apps.hac-devsandbox.5unc.p1.openshiftapps.com",
PublishVerificationResults: false,
BrokerUsername: string(brokerUsername),
BrokerPassword: string(brokerPassword),
EnablePending: true,
ProviderVersion: "local",
ProviderBranch: "main",
Expand Down

0 comments on commit c8dade7

Please sign in to comment.