summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-02-25 16:24:04 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-02-25 16:24:04 -0800
commit22b1c05a964a5bded9d0d3de0792acbc02aa0b25 (patch)
treeea23dcf32e008612a70aa8af9c78dc490f1dcb38 /src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
parent7da4839c2a16e8b7c30e9545941a06853938ccee (diff)
downloadDotNetOpenAuth-22b1c05a964a5bded9d0d3de0792acbc02aa0b25.zip
DotNetOpenAuth-22b1c05a964a5bded9d0d3de0792acbc02aa0b25.tar.gz
DotNetOpenAuth-22b1c05a964a5bded9d0d3de0792acbc02aa0b25.tar.bz2
Changed all uses of [TestCase] to [Test] to better emulate recommended NUnit patterns.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs b/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
index 06ef82d..d5de6b2 100644
--- a/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/Messages/DirectErrorResponseTests.cs
@@ -24,7 +24,7 @@ namespace DotNetOpenAuth.Test.OpenId.Messages {
this.response = new DirectErrorResponse(request.Version, request);
}
- [TestCase]
+ [Test]
public void ParameterNames() {
this.response.ErrorMessage = "Some Error";
this.response.Contact = "Andrew Arnott";
@@ -42,7 +42,7 @@ namespace DotNetOpenAuth.Test.OpenId.Messages {
/// Verifies that error messages are created as HTTP 400 errors,
/// per OpenID 2.0 section 5.1.2.2.
/// </summary>
- [TestCase]
+ [Test]
public void ErrorMessagesAsHttp400() {
var httpStatusMessage = (IHttpDirectResponse)this.response;
Assert.AreEqual(HttpStatusCode.BadRequest, httpStatusMessage.HttpStatusCode);