blob: a88de7f0e777d05a90894aeb1153df61af0061c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using DevHive.Data.Repositories;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
namespace DevHive.Data.Tests
{
[TestFixture]
public class UserRepositoryTests
{
private DevHiveContext _context;
private UserRepository _userRepository;
[SetUp]
public void Setup()
{
var options = new DbContextOptionsBuilder<DevHiveContext>()
.UseInMemoryDatabase("DevHive_UserRepository_Database");
this._context = new DevHiveContext(options.Options);
this._userRepository = new UserRepository(_context);
}
[Test]
public void Test()
{
}
}
}
|