Skip to content

Commit 2e79190

Browse files
committed
Remove test
1 parent fdda995 commit 2e79190

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

RandomData2/UnitTest/Database/SqlServerTest.cs

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -84,43 +84,6 @@ public void Products()
8484
CollectionAssert.AreEqual(expected.Select(x => x.Name).ToArray(), actual.Select(x => x.Name).ToArray());
8585
}
8686

87-
[TestMethod]
88-
public void Data()
89-
{
90-
InsertData();
91-
GetData();
92-
}
93-
94-
static void InsertData()
95-
{
96-
using (var db = new RandomTestDb())
97-
{
98-
for (int i = 0; i < 20; i++)
99-
{
100-
var id = RandomData.GenerateOrderedGuid2();
101-
var idSql = RandomData.GenerateOrderedSqlGuid2();
102-
var name = RandomData.GenerateAlphanumerics(20);
103-
104-
db.Categories.Add(new Category
105-
{
106-
Id = id.Guid.ToString(),
107-
Created = id.DateTime,
108-
Name = name,
109-
});
110-
db.Products.Add(new Product
111-
{
112-
Id = idSql.Guid,
113-
Created = idSql.DateTime,
114-
Name = name,
115-
});
116-
117-
System.Threading.Thread.Sleep(1);
118-
}
119-
120-
db.SaveChanges();
121-
}
122-
}
123-
12487
static void GetData()
12588
{
12689
using (var db = new RandomTestDb())

0 commit comments

Comments
 (0)