blob: e3203ac978ec127c743726d18ddd614294e7fb17 [file] [log] [blame]
giolekvaeea069c2021-07-19 18:13:08 +04001package main
2
3import (
4 "os"
5 "testing"
6
7 "github.com/jetstack/cert-manager/test/acme/dns"
8)
9
10var (
11 zone = os.Getenv("TEST_ZONE_NAME")
12)
13
14func TestRunsSuite(t *testing.T) {
15 // The manifest path should contain a file named config.json that is a
16 // snippet of valid configuration that should be included on the
17 // ChallengeRequest passed as part of the test cases.
18
19 solver := &gandiDNSProviderSolver{}
20 fixture := dns.NewFixture(solver,
21 dns.SetBinariesPath("__main__/hack/bin"),
22 dns.SetResolvedZone(zone),
23 dns.SetAllowAmbientCredentials(false),
24 dns.SetManifestPath("testdata/gandi"),
25 )
26
27 fixture.RunConformance(t)
28}