Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming title and descriptions in module info file from Apigee Edge to Apigee #1014

Merged
merged 4 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apigee_edge.info.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Apigee Edge
description: Apigee Edge Drupal integration.
name: Apigee
description: Apigee Drupal integration.
package: Apigee

type: module
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "drupal/apigee_edge",
"license": "GPL-2.0-or-later",
"type": "drupal-module",
"description": "Apigee Edge for Drupal.",
"description": "Apigee for Drupal.",
"require": {
"php": "~8.1.0 || ~8.2.0",
"ext-json": "*",
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Kernel/UserAgentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function testUserAgentWithoutMonetization() {
$infoParser = new InfoParser($this->root);
$this->edgeModuleInfo = $infoParser->parse(\Drupal::service('module_handler')->getModule('apigee_edge')->getPathname());
if (!isset($this->edgeModuleInfo['version'])) {
$this->edgeModuleInfo['version'] = '2.x-dev';
$this->edgeModuleInfo['version'] = '3.x-dev';
}

$user_agent_parts[] = $this->edgeModuleInfo['name'] . '/' . $this->edgeModuleInfo['version'];
Expand All @@ -82,7 +82,7 @@ public function testUserAgentWithoutMonetization() {
\Drupal::moduleHandler()->invokeAll('apigee_edge_user_agent_string_alter', [&$user_agent_parts]);
$userAgentPrefix = implode('; ', $user_agent_parts);

$this->assertSame($userAgentPrefix, 'Apigee Edge/2.x-dev;' . ' Drupal/' . \Drupal::VERSION);
$this->assertSame($userAgentPrefix, 'Apigee/3.x-dev;' . ' Drupal/' . \Drupal::VERSION);
}

}