Skip to content

Commit 2cfe6e5

Browse files
committed
Merge pull request #41 from csantero/getpropertyforjsonkey
ensure test is using the right type
2 parents d67ed88 + a0e21df commit 2cfe6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSONAPI.Tests/Core/ModelManagerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void GetPropertyForJsonKeyTest()
8888
// Arrange
8989
var pluralizationService = new PluralizationService();
9090
var mm = new ModelManager(pluralizationService);
91-
Type authorType = typeof(Author).GetType();
91+
Type authorType = typeof(Author);
9292

9393
// Act
9494
var idProp = mm.GetPropertyForJsonKey(authorType, "id");

0 commit comments

Comments
 (0)