aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/PasswordGenerator.cs
blob: 3e154d70e3292f2933358d009056c59763db2485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Timeline.Services.User;
using Xunit;
using Xunit.Abstractions;

namespace Timeline.Tests
{
    public class PasswordGenerator
    {
        private readonly ITestOutputHelper _output;

        public PasswordGenerator(ITestOutputHelper output)
        {
            _output = output;
        }

        [Fact]
        public void Generate()
        {
            var service = new PasswordService();
            _output.WriteLine(service.HashPassword("crupest"));
        }
    }
}