Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Fixes two unit tests that fail in Release configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Mar 28, 2013
1 parent c825738 commit c556ab1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -187,7 +187,7 @@ protected OpenIdChannel(IMessageFactory messageTypeProvider, IChannelBindingElem
var fields = messageAccessor.Serialize();
byte[] keyValueEncoding = KeyValueFormEncoding.GetBytes(fields);

var preparedResponse = new HttpResponseMessage();
var preparedResponse = new HttpResponseMessageWithOriginal(response);
ApplyMessageTemplate(response, preparedResponse);
var content = new StreamContent(new MemoryStream(keyValueEncoding));
content.Headers.ContentType = new MediaTypeHeaderValue(KeyValueFormContentType);
Expand Down

0 comments on commit c556ab1

Please sign in to comment.