Przeglądaj źródła

Add AuthorizeChallenge unit tests

Mariano Cano 4 lat temu
rodzic
commit
99299faeeb
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      acme/api/order_test.go

+ 3 - 0
acme/api/order_test.go

@@ -758,6 +758,9 @@ func TestHandler_newAuthorization(t *testing.T) {
 	}
 	}
 	for name, run := range tests {
 	for name, run := range tests {
 		t.Run(name, func(t *testing.T) {
 		t.Run(name, func(t *testing.T) {
+			if name == "ok/permanent-identifier-enabled" {
+				println(1)
+			}
 			tc := run(t)
 			tc := run(t)
 			ctx := newBaseContext(context.Background(), tc.db)
 			ctx := newBaseContext(context.Background(), tc.db)
 			ctx = acme.NewProvisionerContext(ctx, tc.prov)
 			ctx = acme.NewProvisionerContext(ctx, tc.prov)