public override void AssertThat(AuthControllerTestRepository authControllerTestRepository, HttpResponseMessage acualRessult) { _testOutputHelper.WriteLine("21 AssertThat"); DeauthenticationUtils.Assert01And02And10To21(authControllerTestRepository, acualRessult); var result = JObject.Parse(acualRessult.Content.ReadAsStringAsync().Result); Assert.Equal("msisdn_invalid_length", result["errors"]["SimMsisdn"].First().ToString()); }
public override void AssertThat(AuthControllerTestRepository authControllerTestRepository, HttpResponseMessage acualRessult) { _testOutputHelper.WriteLine("10 AssertThat"); DeauthenticationUtils.Assert01And02And10To21(authControllerTestRepository, acualRessult); var result = JObject.Parse(acualRessult.Content.ReadAsStringAsync().Result); Assert.Equal("certification_required", result["errors"]["ClientCertificationBase64"].First().ToString()); }