mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
// ==========================================================================
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex UG (haftungsbeschränkt)
|
|
// All rights reserved. Licensed under the MIT license.
|
|
// ==========================================================================
|
|
|
|
using Xunit;
|
|
|
|
#pragma warning disable SA1300 // Element should begin with upper-case letter
|
|
|
|
namespace Squidex.Infrastructure.Assets
|
|
{
|
|
[Trait("Category", "Dependencies")]
|
|
public class MongoGridFsAssetStoreTests : AssetStoreTests<MongoGridFsAssetStore>, IClassFixture<MongoGridFSAssetStoreFixture>
|
|
{
|
|
public MongoGridFSAssetStoreFixture _ { get; }
|
|
|
|
public MongoGridFsAssetStoreTests(MongoGridFSAssetStoreFixture fixture)
|
|
{
|
|
_ = fixture;
|
|
}
|
|
|
|
public override MongoGridFsAssetStore CreateStore()
|
|
{
|
|
return _.AssetStore;
|
|
}
|
|
|
|
[Fact]
|
|
public void Should_not_calculate_source_url()
|
|
{
|
|
var url = Sut.GeneratePublicUrl(FileName);
|
|
|
|
Assert.Null(url);
|
|
}
|
|
}
|
|
}
|