Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Apr 26, 2019
1 parent 1ede0b3 commit 417d10a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -23,7 +23,7 @@ public class NonJsonLdRdfBodyDeserializerTests
public void Should_support_serialization(RdfSerialization serialization)
{
// given
var deserializer = new NonJsonLdRdfBodyDeserializer(A.Fake<IEntitySerializer>());
var deserializer = new NonJsonLdRdfBodyDeserializer(A.Fake<IEntitySerializer>(), new RdfConverter());

// when
deserializer.CanDeserialize(serialization.MediaType, new BindingContext());
Expand All @@ -34,7 +34,7 @@ public void Deserialize_should_deserialize_directly_from_ntriples()
{
// given
var entitySerializer = A.Fake<IEntitySerializer>();
var binder = new NonJsonLdRdfBodyDeserializer(entitySerializer);
var binder = new NonJsonLdRdfBodyDeserializer(entitySerializer, new RdfConverter());
const string bodyString = "some nquads";
var body = new MemoryStream(Encoding.UTF8.GetBytes(bodyString));

Expand Down

0 comments on commit 417d10a

Please sign in to comment.