diff --git a/tests/src/Kernel/UserAgentTest.php b/tests/src/Kernel/UserAgentTest.php index 289c051b..b58b9e7b 100644 --- a/tests/src/Kernel/UserAgentTest.php +++ b/tests/src/Kernel/UserAgentTest.php @@ -70,7 +70,7 @@ protected function setUp(): void { */ public function testUserAgentWithoutMonetization() { // apigee_edge module info. - $infoParser = new InfoParser(); + $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';