Template
26 lines
777 B
C#
26 lines
777 B
C#
using Strata.ContinuousImprovement.Api.Test.Integration.Setup;
|
|
using Strata.ContinuousImprovement.Biz.DbContexts;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace Strata.ContinuousImprovement.Api.Test.Integration.Tests
|
|
{
|
|
[ExcludeFromCodeCoverage]
|
|
[TestFixture(Category = "Integration")]
|
|
public class TestFixtureSetup : ApiTestBase
|
|
{
|
|
[Test]
|
|
public async Task TestBearerToken()
|
|
{
|
|
var bearerToken = AccessToken;
|
|
Assert.That(bearerToken, Is.Not.Null.And.Not.Empty);
|
|
}
|
|
|
|
[Test]
|
|
public async Task TestCentralDbContext()
|
|
{
|
|
var centralDbContext = ServiceProperties.CentralDbContext as CentralDbContext;
|
|
Assert.That(centralDbContext, Is.Not.Null);
|
|
}
|
|
|
|
}
|
|
} |