33
44using Aspire . Dashboard . Model ;
55using Aspire . Hosting . Publishing ;
6+ using Aspire . Hosting . Resources ;
67using Aspire . Hosting . Utils ;
78using Microsoft . AspNetCore . InternalTesting ;
89using Microsoft . Extensions . Configuration ;
@@ -466,7 +467,7 @@ public void ParameterCreateInput_WithoutCustomGenerator_ReturnsDefaultInput()
466467 Assert . Equal ( InputType . Text , input . InputType ) ;
467468 Assert . Equal ( "test" , input . Label ) ;
468469 Assert . Equal ( "Test description" , input . Description ) ;
469- Assert . Equal ( "Enter value for test", input . Placeholder ) ;
470+ Assert . Equal ( string . Format ( InteractionStrings . ParametersInputsParameterPlaceholder , " test") , input . Placeholder ) ;
470471 Assert . False ( input . EnableDescriptionMarkdown ) ;
471472 }
472473
@@ -485,7 +486,7 @@ public void ParameterCreateInput_ForSecretParameter_ReturnsSecretTextInput()
485486 Assert . Equal ( InputType . SecretText , input . InputType ) ;
486487 Assert . Equal ( "secret" , input . Label ) ;
487488 Assert . Equal ( "Secret description" , input . Description ) ;
488- Assert . Equal ( "Enter value for secret", input . Placeholder ) ;
489+ Assert . Equal ( string . Format ( InteractionStrings . ParametersInputsParameterPlaceholder , " secret") , input . Placeholder ) ;
489490 Assert . False ( input . EnableDescriptionMarkdown ) ;
490491 }
491492
0 commit comments