diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-18 22:54:10 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-18 22:54:10 -0700 |
commit | 4b6f60f351b8520e3824ee80dc0066f1c69c29b4 (patch) | |
tree | b541a53615096c49d2f4988e68622a10b50ff412 /src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs | |
parent | 11615a19bad90741c7a755eaf741b8683992c9ff (diff) | |
download | DotNetOpenAuth-4b6f60f351b8520e3824ee80dc0066f1c69c29b4.zip DotNetOpenAuth-4b6f60f351b8520e3824ee80dc0066f1c69c29b4.tar.gz DotNetOpenAuth-4b6f60f351b8520e3824ee80dc0066f1c69c29b4.tar.bz2 |
All tests passing, with more work done.
Diffstat (limited to 'src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs')
-rw-r--r-- | src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs b/src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs index 25dd8e3..f034981 100644 --- a/src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs +++ b/src/DotNetOAuth.Test/Messaging/MessageSerializerTests.cs @@ -9,6 +9,7 @@ namespace DotNetOAuth.Test.Messaging { using System.Collections.Generic;
using DotNetOAuth.Messaging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
+ using System.Xml;
/// <summary>
/// Tests for the <see cref="MessageSerializer"/> class.
@@ -112,6 +113,7 @@ namespace DotNetOAuth.Test.Messaging { Dictionary<string, string> fields = new Dictionary<string, string>(StringComparer.Ordinal);
fields["age"] = "15";
fields["Name"] = "Andrew";
+ fields["Timestamp"] = XmlConvert.ToString(DateTime.UtcNow, XmlDateTimeSerializationMode.Utc);
// Add some field that is not recognized by the class. This simulates a querystring with
// more parameters than are actually interesting to the protocol message.
fields["someExtraField"] = "asdf";
|