This commit is contained in:
parent
fe489673be
commit
b49042a626
8 changed files with 143 additions and 28 deletions
|
|
@ -435,6 +435,12 @@ void RunMoneySelfTest() {
|
|||
}
|
||||
Check(ld && ld->IsObject() && ld->Str("@type") == "Product" && offersOk,
|
||||
"schema: product JSON-LD parses, one offer per variant");
|
||||
// Merchant-grade fields: shipping, returns, brand, sku — what
|
||||
// Merchant Center's website-crawl feed reads at launch.
|
||||
Check(pp.meta.jsonLd.find("OfferShippingDetails") != std::string::npos
|
||||
&& pp.meta.jsonLd.find("MerchantReturnPolicy") != std::string::npos
|
||||
&& pp.meta.jsonLd.find("\"sku\"") != std::string::npos,
|
||||
"schema: offers carry shipping, returns and sku");
|
||||
}
|
||||
}
|
||||
Check(!Content::Projects().empty(), "content: projects present");
|
||||
|
|
|
|||
Loading…
Reference in a new issue