Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

test: stamp the authoring project in the descendant-service fixture

Dannyf7687ffbbc8a
diff --git a/backend/api/v1/instance_descendant_service_test.go b/backend/api/v1/instance_descendant_service_test.go
index 0c8c1b1eb8..c55940e3e6 100644
--- a/backend/api/v1/instance_descendant_service_test.go
+++ b/backend/api/v1/instance_descendant_service_test.go
@@ -169,6 +169,10 @@ func setupInstanceDescendantServiceTest(t *testing.T, instanceProjectID *string)
Payload: &storepb.RevisionPayload{
SheetSha256: "sheet-a",
Type: storepb.SchemaChangeType_VERSIONED,
+ // The authoring-project stamp every runtime writer sets; the
+ // sheet name in responses is derived from it, so an unstamped
+ // revision carries no sheet name at all.
+ Project: databaseProjectID,
},
})
require.NoError(t, err)