Skip to content

Commit bed4e9d

Browse files
committed
use public name instead of reflected property name
1 parent 1b8404e commit bed4e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/OperationsExampleTests/Get/GetRelationshipTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public async Task Can_Get_Article_Author()
3131
operations = new[] {
3232
new Dictionary<string, object> {
3333
{ "op", "get"},
34-
{ "ref", new { type = "articles", id = article.StringId, relationship = nameof(article.Author) } }
34+
{ "ref", new { type = "articles", id = article.StringId, relationship = "author" } }
3535
}
3636
}
3737
};

0 commit comments

Comments
 (0)