blob: c598a1ae09d16533c1b0c885737e8e67b6c41066 [file]
package core
import (
"testing"
"github.com/letsencrypt/boulder/test"
)
func TestNewChallenge(t *testing.T) {
challenge := newChallenge(ChallengeTypeDNS01, "asd")
test.Assert(t, challenge.Token == "asd", "token is not set")
}