Skip to content

Commit 43fa47f

Browse files
committed
fix: core test errors
1 parent 3991cbf commit 43fa47f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

core/cmd/mildstack/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func TestRegisterNativeDynamoDBRoutesExposesAwsCompatibleSmokeSurface(t *testing
184184
if createOut.TableDescription == nil {
185185
t.Fatal("expected create table response to include table description")
186186
}
187-
if got, want := string(createOut.TableDescription.TableStatus), string(types.TableStatusCreating); got != want {
187+
if got, want := string(createOut.TableDescription.TableStatus), string(types.TableStatusActive); got != want {
188188
t.Fatalf("unexpected create status: got %q want %q", got, want)
189189
}
190190
if createOut.TableDescription.CreationDateTime == nil || createOut.TableDescription.CreationDateTime.IsZero() {

core/internal/delivery/http/sqs_native_errors_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestSQSNativeErrorsWriteXMLResponse(t *testing.T) {
2020

2121
writeSQSErrorResponse(ctx, http.StatusBadRequest, "InvalidAction", "The action or operation requested is invalid.", "req-123")
2222

23-
if got := recorder.Header().Get("Content-Type"); !strings.Contains(got, "application/xml") {
23+
if got := recorder.Header().Get("Content-Type"); !strings.Contains(got, "text/xml") {
2424
t.Fatalf("unexpected content type: got %q", got)
2525
}
2626

0 commit comments

Comments
 (0)