mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
3289a8c35e
* Move Api files * Move Core files * Move Infrastructure files * Move Sql Files * Move Api Sync files to Vault * Move test vault files * Update Sql.sqlproj paths * Update Codeowners * Fix vault file paths in sqlproj * Update CipherDetails.sql path in sqlproj * Update Core models and entities namespaces * Update namespaces Core Services and Repositories * Missed service namespaces * Update Api namespaces * Update Infrastructure namespaces * Move infrastructure queries that were missed * Tests namespace updates * Admin and Events namespace updates * Remove unused usings * Remove extra CiphersController usings * Rename folder * Fix CipherDetails namespace * Sqlproj fixes * Move stored procs into folders by table * using order fix
32 lines
902 B
C#
32 lines
902 B
C#
using Bit.Core.Settings;
|
|
using Bit.Core.Vault.Services;
|
|
using Microsoft.Extensions.Logging;
|
|
using NSubstitute;
|
|
using Xunit;
|
|
|
|
namespace Bit.Core.Test.Services;
|
|
|
|
public class AzureAttachmentStorageServiceTests
|
|
{
|
|
private readonly AzureAttachmentStorageService _sut;
|
|
|
|
private readonly GlobalSettings _globalSettings;
|
|
private readonly ILogger<AzureAttachmentStorageService> _logger;
|
|
|
|
public AzureAttachmentStorageServiceTests()
|
|
{
|
|
_globalSettings = new GlobalSettings();
|
|
_logger = Substitute.For<ILogger<AzureAttachmentStorageService>>();
|
|
|
|
_sut = new AzureAttachmentStorageService(_globalSettings, _logger);
|
|
}
|
|
|
|
// Remove this test when we add actual tests. It only proves that
|
|
// we've properly constructed the system under test.
|
|
[Fact(Skip = "Needs additional work")]
|
|
public void ServiceExists()
|
|
{
|
|
Assert.NotNull(_sut);
|
|
}
|
|
}
|