function pmpapi_test_get_secret_vars in Public Media Platform API Integration 7
6 calls to pmpapi_test_get_secret_vars()
- PMPAPIPermissionsWebTestCase::setUp in pmpapi_permissions/
tests/ pmpapi_permissions.test - Sets up the test environment.
- PMPAPIPullWebTestCase::setUp in pmpapi_pull/
tests/ pmpapi_pull.test - Sets up the test environment.
- PMPAPIPushWebTestCase::setUp in pmpapi_push/
tests/ pmpapi_push.test - Sets up the test environment.
- PMPAPIWebTestCase::setUp in tests/
pmpapi.test - Sets up the test environment.
- PMPAPIWebTestCase::testPmpAPIDoQuery in tests/
pmpapi.test - Makes a basic query to the PMP.
File
- tests/
settings.sample.php, line 2
Code
function pmpapi_test_get_secret_vars() {
return array(
'client_id' => 'a GUID',
'client_secret' => 'long hash',
'user_id' => 'long hash',
'host' => 'https://api-sandbox.pmp.io',
'story_guid' => '1f6cbcb3-bb41-4e40-a315-917203b433be',
'story_with_image_guid' => '73f0e25e-7119-4e12-906d-577e21abc00b',
'image_guid' => '63239fec-36b6-4e91-8d30-cac1782c5c1a',
'sample_tag' => 'samplecontent',
);
}