summaryrefslogtreecommitdiffstats
path: root/csharp/tests
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/tests')
-rw-r--r--csharp/tests/BindingTests.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/tests/BindingTests.cs b/csharp/tests/BindingTests.cs
index b88bed94..63a0f4a4 100644
--- a/csharp/tests/BindingTests.cs
+++ b/csharp/tests/BindingTests.cs
@@ -81,8 +81,8 @@ public class BindingTests {
// Test a string attribute.
assertNull(authnRequest.consent);
- authnRequest.consent = lasso.lasso.libConsentObtained;
- assertEquals(authnRequest.consent, lasso.lasso.libConsentObtained);
+ authnRequest.consent = lasso.lasso.LIB_CONSENT_OBTAINED;
+ assertEquals(authnRequest.consent, lasso.lasso.LIB_CONSENT_OBTAINED);
authnRequest.consent = null;
assertNull(authnRequest.consent);
@@ -293,9 +293,9 @@ public class BindingTests {
assertNull(login.request);
login.request = (lasso.SamlpRequestAbstract) new lasso.LibAuthnRequest();
- ((lasso.LibAuthnRequest) login.request).consent = lasso.lasso.libConsentObtained;
+ ((lasso.LibAuthnRequest) login.request).consent = lasso.lasso.LIB_CONSENT_OBTAINED;
assertEquals(((lasso.LibAuthnRequest) login.request).consent,
- lasso.lasso.libConsentObtained);
+ lasso.lasso.LIB_CONSENT_OBTAINED);
login.request = null;
assertNull(login.request);