public userRepositoryTests() { userRepository = new UserRepository(RepositoryConfiguration.ConnFactory(), RepositoryConfiguration.DatabaseName, RepositoryConfiguration.CollectionUser); userInputModel = new UserInputModel { Name = "nome usuario", Password_Text = "password", NumberSalt = 70, Interation = 10101, Nhash = 70 }; }
public BlogRepositoryTests() { this.blogRepository = new BlogRepository(RepositoryConfiguration.ConnFactory(), RepositoryConfiguration.DatabaseName, RepositoryConfiguration.CollectionBlog); this.blogService = new BlogService(configurations.FakeMapper(), this.blogRepository); }
public PatientRepositoryTests() { this.patientRepository = new PatientRepository(RepositoryConfiguration.ConnFactory(), RepositoryConfiguration.DatabaseName, RepositoryConfiguration.CollectionPatient); this.patientService = new PatientService(configurations.FakeMapper(), this.patientRepository); }