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 dd9a1c6ab7
commit 840f87e4e6
3 changed files with 3 additions and 1 deletions

View file

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

View file

@ -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

View file

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