comparison Agendas/trunk/src/Agendas.Tests/PersonaServiceTests.cs @ 142:62dc9fb3a03e

Quitando cuentas BuiltIn
author Nelo@Guinea.neluz.int
date Mon, 01 Aug 2011 00:28:04 -0300
parents 7a2eeb9e9bf9
children 2dbb15f4510f
comparison
equal deleted inserted replaced
141:a5ff4de4a1d3 142:62dc9fb3a03e
35 Assert.IsTrue(personaService.CreateIfNotExist(IdentityProviderEnum.Twitter, "nelopauselli", "Nelo Pauselli")); 35 Assert.IsTrue(personaService.CreateIfNotExist(IdentityProviderEnum.Twitter, "nelopauselli", "Nelo Pauselli"));
36 Assert.AreEqual(1, persona.Cuentas.Count()); 36 Assert.AreEqual(1, persona.Cuentas.Count());
37 } 37 }
38 38
39 [Test] 39 [Test]
40 public void IdentificacionBuiltIn() 40 public void IdentificacionGoogle()
41 { 41 {
42 var builtIn = new Identification(Identification.Map[(int) IdentityProviderEnum.BuiltIn] + "nelo"); 42 var builtIn = new Identification(Identification.Map[(int)IdentityProviderEnum.Google] + "nelo");
43 Assert.AreEqual(IdentityProviderEnum.BuiltIn, builtIn.IdentityProvider); 43 Assert.AreEqual(IdentityProviderEnum.Google, builtIn.IdentityProvider);
44 Assert.AreEqual("nelo", builtIn.LogonName); 44 Assert.AreEqual("nelo", builtIn.LogonName);
45 } 45 }
46 46
47 [Test] 47 [Test]
48 public void IdentificacionTwitter() 48 public void IdentificacionTwitter()