package feature_test import ( "testing" "go.laravel.com/laraveltest" "app/tests" ) func TestPublicDemoUsesSanitizedFixtureWithoutAuthentication(t *testing.T) { client := tests.New(t, laraveltest.Env(map[string]string{ "OPSPROOF_JEANNIE_URL": "http://127.0.0.1:1", "OPSPROOF_JEANNIE_TOKEN": "must-not-be-used", })) client.WithoutRedirects().Get("/").AssertRedirect("/demo") client.Get("/demo").AssertOK().AssertInertia("Demo").AssertProp("demo.outcome", "validated") }