Example #1
0
        public MailDriver(ApolloIntegrationFixture services)
            : base(services)
        {
            var internet = new Internet();

            this.FromEmailAddress = new MailAddress(internet.Email());
        }
Example #2
0
        protected IdentityTestDriver(ApolloIntegrationFixture services)
        {
            this.Services = services ?? throw new ArgumentNullException(nameof(services));

            this.ApolloClient = new HttpClient
            {
                BaseAddress = services.ApolloEndpoint
            };

            var internet     = new Internet();
            var phoneNumbers = new PhoneNumbers();

            var email = internet.Email();

            this.CurrentUser = new User
            {
                Username    = email,
                Password    = internet.Password(),
                Email       = email,
                PhoneNumber = phoneNumbers.PhoneNumber("+447974######")
            };
        }
Example #3
0
 public SmsVerificationScenarios(ApolloIntegrationFixture services)
 {
     this.smsDriver = new SmsDriver(services);
 }
 public TwilioIntegrationScenarios(ApolloIntegrationFixture services)
 {
     this.driver = new SmsDriver(services);
 }
 public EmailVerificationScenarios(ApolloIntegrationFixture services)
 {
     this.driver = new MailDriver(services);
 }
Example #6
0
 public SmsDriver(ApolloIntegrationFixture services)
     : base(services)
 {
 }
Example #7
0
 public MailDriverTests(ApolloIntegrationFixture services)
 {
     this.driver = new MailDriver(services);
 }