Tests
This commit is contained in:
		
							
								
								
									
										15
									
								
								SchengenVisaApi/VisaApiTests/Fakers/Auth/AuthDataFaker.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								SchengenVisaApi/VisaApiTests/Fakers/Auth/AuthDataFaker.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| using ApplicationLayer.Services.AuthServices.Common; | ||||
| using Bogus; | ||||
|  | ||||
| namespace VisaApi.Fakers.Auth | ||||
| { | ||||
|     public sealed class AuthDataFaker : Faker<AuthData> | ||||
|     { | ||||
|         public AuthDataFaker() | ||||
|         { | ||||
|             RuleFor(a => a.Email, f => f.Internet.Email()); | ||||
|  | ||||
|             RuleFor(a => a.Password, f => f.Internet.Password()); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user