Delete impractical integration test
This commit is contained in:
parent
06749f2ad4
commit
2ca7c2eed6
4 changed files with 0 additions and 52 deletions
28
main_test.go
28
main_test.go
|
@ -1,28 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/jetstack/cert-manager/test/acme/dns"
|
||||
)
|
||||
|
||||
var (
|
||||
zone = os.Getenv("TEST_ZONE_NAME")
|
||||
)
|
||||
|
||||
func TestRunsSuite(t *testing.T) {
|
||||
// The manifest path should contain a file named config.json that is a
|
||||
// snippet of valid configuration that should be included on the
|
||||
// ChallengeRequest passed as part of the test cases.
|
||||
|
||||
fixture := dns.NewFixture(&domeneshopDNSProviderSolver{},
|
||||
dns.SetResolvedZone(zone),
|
||||
dns.SetAllowAmbientCredentials(false),
|
||||
dns.SetBinariesPath("_out/kubebuilder/bin"),
|
||||
dns.SetManifestPath("testdata/domeneshop-webhook"),
|
||||
dns.SetStrict(true),
|
||||
)
|
||||
|
||||
fixture.RunConformance(t)
|
||||
}
|
3
testdata/domeneshop-webhook/README.md
vendored
3
testdata/domeneshop-webhook/README.md
vendored
|
@ -1,3 +0,0 @@
|
|||
# Solver testdata directory
|
||||
|
||||
TODO
|
10
testdata/domeneshop-webhook/config.json
vendored
10
testdata/domeneshop-webhook/config.json
vendored
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"APITokenSecretRef": {
|
||||
"name": "domeneshop-credentials",
|
||||
"key": "APIToken"
|
||||
},
|
||||
"APISecretSecretRef": {
|
||||
"name": "domeneshop-credentials",
|
||||
"key": "APISecret"
|
||||
}
|
||||
}
|
11
testdata/domeneshop-webhook/secret.yml
vendored
11
testdata/domeneshop-webhook/secret.yml
vendored
|
@ -1,11 +0,0 @@
|
|||
# Set APIToken and APISecret to your Domeneshop API
|
||||
# token and secret.
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
name: domeneshop-credentials
|
||||
stringData:
|
||||
APIToken: <token>
|
||||
APISecret: <secret>
|
Loading…
Add table
Reference in a new issue