Skip to content

Commit 17913b8

Browse files
TurnerjRehanSaeed
authored andcommitted
Fix broken test with Course.Provider property
The property has been marked as pending and thus isn't available in our tests
1 parent a7d7a23 commit 17913b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Schema.NET.Test/Examples/CourseTest.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class CourseTest
1010
{
1111
Name = "Introduction to Computer Science and Programming", // Required
1212
Description = "Introductory CS course laying out the basics.", // Required
13-
Provider = new Organization() // Recommended
13+
SourceOrganization = new Organization() // Note: This is typically set via "Provider" (a pending property) and is required
1414
{
1515
Name = "University of Technology - Eureka",
1616
SameAs = new Uri("https://www.ut-eureka.edu"),
@@ -24,7 +24,7 @@ public class CourseTest
2424
"@type": "Course",
2525
"name": "Introduction to Computer Science and Programming",
2626
"description": "Introductory CS course laying out the basics.",
27-
"provider": {
27+
"sourceOrganization": {
2828
"@type": "Organization",
2929
"name": "University of Technology - Eureka",
3030
"sameAs": "https://www.ut-eureka.edu"

0 commit comments

Comments
 (0)