root/StructuredWeb/StructuredWeb/Repository/Test/RepositoryTest/CustomerDataProviderTest.cs
| 96 | 107 | ||
|---|---|---|---|
62 | id = id.Substring(0, 5); | 62 | id = id.Substring(0, 5); |
63 | 63 | ||
64 | var customer = new Customer | 64 | var customer = new Customer |
65 | { | 65 | { |
66 | Id = id, | 66 | Id = id, |
67 | //Address = "address1", | 67 | //Address = "address1", |
68 | //City = "city", | 68 | //City = "city", |
69 | CompanyName = "company", | 69 | CompanyName = "company", |
70 | ContactName = "Maria Anders", | 70 | ContactName = "Maria Anders", |
71 | ContactTitle = "hi", | 71 | ContactTitle = "hi", |
72 | //Country = "America", | 72 | //Country = "America", |
73 | Fax = "123-234-4456", | 73 | Fax = "123-234-4456", |
74 | Phone = "123-444-5555", | 74 | Phone = "123-444-5555", |
75 | //PostalCode = "12345" | 75 | //PostalCode = "12345" |
76 | }; | 76 | }; |
77 | _provider.Add(customer); | 77 | _provider.Add(customer); |
78 | 78 | ||
79 | Assert.AreEqual(id, customer.Id); | 79 | Assert.AreEqual(id, customer.Id); |
Download diff