Added the alternate locales to the Social Card in the Infrastructure package.
This commit is contained in:
@@ -18,6 +18,7 @@ struct SocialCardTests {
|
||||
url: "https://site.example/",
|
||||
siteName: "A Site",
|
||||
locale: "en",
|
||||
alternateLocales: ["nl_NL", "de_DE"],
|
||||
image: .init(
|
||||
url: "https://site.example/img/card.png",
|
||||
width: 2400,
|
||||
@@ -33,6 +34,8 @@ struct SocialCardTests {
|
||||
.init("A summary.", name: .description),
|
||||
.init("https://site.example/", name: .url),
|
||||
.init("en", name: .locale),
|
||||
.init("nl_NL", name: .localeAlternate),
|
||||
.init("de_DE", name: .localeAlternate),
|
||||
.init("https://site.example/img/card.png", name: .image),
|
||||
.init("2400", name: .imageWidth),
|
||||
.init("1260", name: .imageHeight),
|
||||
|
||||
Reference in New Issue
Block a user