Add SellerEmail variable for testing data.
There are some situations were having the email address of the seller is useful for testing. This change allows for it as a parameter to the tests.
This commit is contained in:
		
							parent
							
								
									5f4261beda
								
							
						
					
					
						commit
						7198b854b9
					
				
					 3 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1,3 +1,4 @@ | |||
| Username  = test1_api.mydomain.tld | ||||
| Password  = XXXXXXXXXXXXXXXX | ||||
| Signature = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||||
| SellerEmail = email-of-business-test-account@mydomain.tld | ||||
|  |  | |||
|  | @ -2,3 +2,4 @@ Username = test1_api.mydomain.tld | |||
| Password = myapipassword | ||||
| CertFile = /www/var/cert_key_pem.txt | ||||
| KeyFile  = /www/var/cert_key_pem.txt | ||||
| SellerEmail = email-of-business-test-account@mydomain.tld | ||||
|  |  | |||
							
								
								
									
										2
									
								
								t/API.pl
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								t/API.pl
									
										
									
									
									
								
							|  | @ -26,7 +26,7 @@ sub do_args { | |||
| 
 | ||||
|     my @variables = qw( Username Password Signature Subject timeout | ||||
|         CertFile KeyFile PKCS12File PKCS12Password | ||||
|         BuyerEmail | ||||
|         BuyerEmail SellerEmail | ||||
|     ); | ||||
| 
 | ||||
|     my %patterns = (); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn