Abp Vnext 的 Vue3 实现版本
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.
 
 
 
 
 
 

28 lines
610 B

using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zzz.Options;
using Shouldly;
using Xunit;
namespace Zzz.ConfigureOptions
{
public class ConfigureOptionTests : ZzzApplicationTestBase
{
private readonly JwtOptions jwtOptions;
public ConfigureOptionTests()
{
jwtOptions = GetRequiredService<IOptions<JwtOptions>>().Value;
}
[Fact]
void Get_Options()
{
jwtOptions.Audience.ShouldNotBeNull();
}
}
}