Closed despatates closed 9 years ago
When using a global auth.yaml file, editing auth parameters for one test case is editing global config.
Example : auth.yaml
auth.yaml
auth: email: "admin@managemybudget.net" client_secret: "../app/server/api/privatekey.pem" client_id: "XXXXXXXX@developer.gserviceaccount.com" oauth_scope: - "https://www.googleapis.com/auth/userinfo.email"
content_list.yaml
- content.list: lang: 'fr' instance: "1234 config: auth: email: "test@managemybudget.net" check_result: 200
The next test case will be executed with test@managemybudget.net if no config/auth/email is set. It should be executed with admin@managemybudget.net.
test@managemybudget.net
config/auth/email
admin@managemybudget.net
When using a global auth.yaml file, editing auth parameters for one test case is editing global config.
Example :
auth.yaml
content_list.yaml
The next test case will be executed with
test@managemybudget.net
if noconfig/auth/email
is set. It should be executed withadmin@managemybudget.net
.