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

namespace TimelineApp.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"));
        }
    }
}