blob: a3791b26e103687e3f4ba90958bdd89a83e3db71 [file] [log] [blame]
Giorgi Lekveishvili0048a782023-06-20 18:32:21 +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.SetResolvedZone(zone),
22 dns.SetAllowAmbientCredentials(false),
23 dns.SetManifestPath("testdata/gandi"),
24 )
25
26 fixture.RunConformance(t)
27}