mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
remove old smtp tests
This commit is contained in:
parent
25a8640d80
commit
1b0d9481a7
@ -1,35 +0,0 @@
|
||||
using System;
|
||||
using Bit.Core.Services;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using NSubstitute;
|
||||
using Xunit;
|
||||
|
||||
namespace Bit.Core.Test.Services
|
||||
{
|
||||
public class SmtpMailDeliveryServiceTests
|
||||
{
|
||||
private readonly SmtpMailDeliveryService _sut;
|
||||
|
||||
private readonly GlobalSettings _globalSettings;
|
||||
private readonly ILogger<SmtpMailDeliveryService> _logger;
|
||||
|
||||
public SmtpMailDeliveryServiceTests()
|
||||
{
|
||||
_globalSettings = new GlobalSettings();
|
||||
_logger = Substitute.For<ILogger<SmtpMailDeliveryService>>();
|
||||
|
||||
_globalSettings.Mail.Smtp.Host = "unittests.example.com";
|
||||
_globalSettings.Mail.ReplyToEmail = "noreply@unittests.example.com";
|
||||
|
||||
_sut = new SmtpMailDeliveryService(_globalSettings, _logger);
|
||||
}
|
||||
|
||||
// Remove this test when we add actual tests. It only proves that
|
||||
// we've properly constructed the system under test.
|
||||
[Fact]
|
||||
public void ServiceExists()
|
||||
{
|
||||
Assert.NotNull(_sut);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user