@@ -140,15 +140,15 @@ func TestWillingToIssue(t *testing.T) {
140140
141141 // Test for invalid identifier type
142142 identifier := core.AcmeIdentifier {Type : "ip" , Value : "example.com" }
143- err = pa .WillingToIssue (identifier , 100 )
143+ err = pa .WillingToIssue (identifier )
144144 if err != errInvalidIdentifier {
145145 t .Error ("Identifier was not correctly forbidden: " , identifier )
146146 }
147147
148148 // Test syntax errors
149149 for _ , tc := range testCases {
150150 identifier := core.AcmeIdentifier {Type : core .IdentifierDNS , Value : tc .domain }
151- err := pa .WillingToIssue (identifier , 100 )
151+ err := pa .WillingToIssue (identifier )
152152 if err != tc .err {
153153 t .Errorf ("WillingToIssue(%q) = %q, expected %q" , tc .domain , err , tc .err )
154154 }
@@ -157,7 +157,7 @@ func TestWillingToIssue(t *testing.T) {
157157 // Test domains that are equal to public suffixes
158158 for _ , domain := range shouldBeTLDError {
159159 identifier := core.AcmeIdentifier {Type : core .IdentifierDNS , Value : domain }
160- err := pa .WillingToIssue (identifier , 100 )
160+ err := pa .WillingToIssue (identifier )
161161 if err != errICANNTLD {
162162 t .Error ("Identifier was not correctly forbidden: " , identifier , err )
163163 }
@@ -166,7 +166,7 @@ func TestWillingToIssue(t *testing.T) {
166166 // Test blacklisting
167167 for _ , domain := range shouldBeBlacklisted {
168168 identifier := core.AcmeIdentifier {Type : core .IdentifierDNS , Value : domain }
169- err := pa .WillingToIssue (identifier , 100 )
169+ err := pa .WillingToIssue (identifier )
170170 if err != errBlacklisted {
171171 t .Error ("Identifier was not correctly forbidden: " , identifier , err )
172172 }
@@ -175,7 +175,7 @@ func TestWillingToIssue(t *testing.T) {
175175 // Test acceptance of good names
176176 for _ , domain := range shouldBeAccepted {
177177 identifier := core.AcmeIdentifier {Type : core .IdentifierDNS , Value : domain }
178- if err := pa .WillingToIssue (identifier , 100 ); err != nil {
178+ if err := pa .WillingToIssue (identifier ); err != nil {
179179 t .Error ("Identifier was incorrectly forbidden: " , identifier , err )
180180 }
181181 }
0 commit comments