protected function ApiProductAccessTest::saveAccessSettings in Apigee Edge 8
Saves access settings to its appreciated place.
Parameters
array $settings: Associate array where keys are public, private, internal and values are role ids.
2 calls to ApiProductAccessTest::saveAccessSettings()
- ApiProductAccessTest::developerAppEditFormTest in tests/
src/ FunctionalJavascript/ ApiProductAccessTest.php - Test for developer app/edit form.
- ApiProductAccessTest::entityAccessTest in tests/
src/ FunctionalJavascript/ ApiProductAccessTest.php - Tests "Access by visibility" access control.
1 method overrides ApiProductAccessTest::saveAccessSettings()
- ApiProductRoleBasedAccessTestBase::saveAccessSettings in modules/
apigee_edge_apiproduct_rbac/ tests/ src/ FunctionalJavascript/ ApiProductRoleBasedAccessTestBase.php - Saves access settings to its appreciated place.
File
- tests/
src/ FunctionalJavascript/ ApiProductAccessTest.php, line 416
Class
- ApiProductAccessTest
- Validates built-in access control on API products.
Namespace
Drupal\Tests\apigee_edge\FunctionalJavascriptCode
protected function saveAccessSettings(array $settings) {
$this
->config('apigee_edge.api_product_settings')
->set('access', $settings)
->save();
}