// Copyright © 2023 Ory Corp // SPDX-License-Identifier: Apache-2.0 package main import ( "testing" "github.com/ory/kratos/pkg/testhelpers" "github.com/ory/kratos/examples/go/pkg" "github.com/stretchr/testify/require" ) func TestError(t *testing.T) { publicURL, _ := testhelpers.StartE2EServer(t, "../../pkg/stub/kratos.yaml", nil) client = pkg.NewSDKForSelfHosted(publicURL) e := getError() require.NotEmpty(t, e.Id) }