protected function AkamaiAuthenticationTest::getEdgeRcConfig in Akamai 8.3
Returns config for edge rc authentication mode.
Return value
array An array of config values.
1 call to AkamaiAuthenticationTest::getEdgeRcConfig()
- AkamaiAuthenticationTest::testSetupEdgeRc in tests/
src/ Unit/ AkamaiAuthenticationTest.php - Tests that we can authorise when specifying edgerc file.
File
- tests/
src/ Unit/ AkamaiAuthenticationTest.php, line 45
Class
- AkamaiAuthenticationTest
- @coversDefaultClass \Drupal\akamai\AkamaiAuthentication
Namespace
Drupal\Tests\akamai\UnitCode
protected function getEdgeRcConfig() {
return [
'storage_method' => 'file',
'edgerc_path' => realpath(__DIR__ . '/fixtures/.edgerc'),
'edgerc_section' => 'default',
];
}