File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
tests/Aspire.Hosting.Tests Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -650,15 +650,17 @@ public async Task SpecifyingEnvPortInEndpointFlowsToEnv()
650
650
}
651
651
}
652
652
653
- [ Fact ]
654
- public async Task StartAsync_DashboardAuthConfig_PassedToDashboardProcess ( )
653
+ [ Theory ]
654
+ [ InlineData ( KnownConfigNames . DashboardFrontendBrowserToken ) ]
655
+ [ InlineData ( KnownConfigNames . Legacy . DashboardFrontendBrowserToken ) ]
656
+ public async Task StartAsync_DashboardAuthConfig_PassedToDashboardProcess ( string tokenEnvVarName )
655
657
{
656
658
const string testName = "dashboard-auth-config" ;
657
659
var browserToken = "ThisIsATestToken" ;
658
660
var args = new string [ ] {
659
661
$ "{ KnownConfigNames . AspNetCoreUrls } =http://localhost:0",
660
662
$ "{ KnownConfigNames . DashboardOtlpGrpcEndpointUrl } =http://localhost:0",
661
- $ "{ KnownConfigNames . DashboardFrontendBrowserToken } ={ browserToken } "
663
+ $ "{ tokenEnvVarName } ={ browserToken } "
662
664
} ;
663
665
using var testProgram = CreateTestProgram ( testName , args : args , disableDashboard : false ) ;
664
666
You can’t perform that action at this time.
0 commit comments