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:
Bradley M. Kuhn 2015-01-01 16:36:58 -05:00
parent 5f4261beda
commit 7198b854b9
3 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,4 @@
Username = test1_api.mydomain.tld Username = test1_api.mydomain.tld
Password = XXXXXXXXXXXXXXXX Password = XXXXXXXXXXXXXXXX
Signature = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Signature = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SellerEmail = email-of-business-test-account@mydomain.tld

View file

@ -2,3 +2,4 @@ Username = test1_api.mydomain.tld
Password = myapipassword Password = myapipassword
CertFile = /www/var/cert_key_pem.txt CertFile = /www/var/cert_key_pem.txt
KeyFile = /www/var/cert_key_pem.txt KeyFile = /www/var/cert_key_pem.txt
SellerEmail = email-of-business-test-account@mydomain.tld

View file

@ -26,7 +26,7 @@ sub do_args {
my @variables = qw( Username Password Signature Subject timeout my @variables = qw( Username Password Signature Subject timeout
CertFile KeyFile PKCS12File PKCS12Password CertFile KeyFile PKCS12File PKCS12Password
BuyerEmail BuyerEmail SellerEmail
); );
my %patterns = (); my %patterns = ();