@@ -48,14 +48,6 @@ describe('defineLocalBusiness', () => {
48
48
"streetAddress": "123 st",
49
49
},
50
50
"currenciesAccepted": "AUD",
51
- "logo": {
52
- "@id": "https://example.com/#logo",
53
- "@type": "ImageObject",
54
- "caption": "test",
55
- "contentUrl": "https://example.com/logo.png",
56
- "inLanguage": "en-AU",
57
- "url": "https://example.com/logo.png",
58
- },
59
51
"name": "test",
60
52
"openingHoursSpecification": [
61
53
{
@@ -76,6 +68,27 @@ describe('defineLocalBusiness', () => {
76
68
],
77
69
"url": "https://example.com/",
78
70
},
71
+ {
72
+ "@id": "https://example.com/#/schema/image/acd40d1",
73
+ "@type": "ImageObject",
74
+ "caption": "test",
75
+ "contentUrl": "https://example.com/logo.png",
76
+ "inLanguage": "en-AU",
77
+ "url": "https://example.com/logo.png",
78
+ },
79
+ {
80
+ "@id": "https://example.com/#organization",
81
+ "@type": "Organization",
82
+ "address": {
83
+ "@type": "PostalAddress",
84
+ "addressCountry": "Australia",
85
+ "postalCode": "2000",
86
+ "streetAddress": "123 st",
87
+ },
88
+ "logo": "https://example.com/logo.png",
89
+ "name": "test",
90
+ "url": "https://example.com/",
91
+ },
79
92
]
80
93
` )
81
94
} )
0 commit comments