Reworded the documentation of the organization identifier helper in the Infrastructure package target.
This commit is contained in:
@@ -54,7 +54,7 @@ struct StructuredDataTests {
|
||||
url: url
|
||||
)
|
||||
|
||||
// The helper is what another page references the organization by, so it has to name the node this actually builds.
|
||||
// Another page references the organization by this, so it must name the node the initializer actually builds.
|
||||
#expect(StructuredData.organizationID(forSiteURL: url) == "https://site.example/#organization")
|
||||
#expect(data.payload.contains(##""@id":"\##(StructuredData.organizationID(forSiteURL: url))""##))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user