añadido Context de entity y correjidos algunos temas de las entidades
This commit is contained in:
20
testing/UnitTest1.cs
Normal file
20
testing/UnitTest1.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Modelo;
|
||||
|
||||
namespace testing;
|
||||
|
||||
public class Tests
|
||||
{
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestConeccion()
|
||||
{
|
||||
Context c = new();
|
||||
bool connect = c.Database.CanConnect();
|
||||
|
||||
Assert.True(connect);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user