예제 #1
0
        public override void Configure(ContainerResourceBuilder builder)
        {
            IConfiguration config      = IdentityTestContext.BuildConfiguration();
            string         passwordKey = "ECall:Password";
            string         fromKey     = "ECall:From";

            base.Configure(builder);
            builder
            .Name("identity")
            .WaitTimeout(30)
            .PreferLocalImage()
            .InternalPort(80)
            .ExternalPort(80)
            .AddNetwork("identity-net")
            .AddEnvironmentVariable(
                $"{passwordKey}={config.GetValue<string>(passwordKey)}")
            .AddEnvironmentVariable(
                $"{fromKey}={config.GetValue<string>(fromKey)}")
            .Image("magic-media-identity:dev");
        }
예제 #2
0
 public LoginTests(IdentityTestContext testContext)
 {
     _testContext = testContext;
 }
예제 #3
0
 public SignUpTests(IdentityTestContext testContext)
 {
     _testContext = testContext;
 }