Skip to content

Commit 7646ac6

Browse files
committed
AC-15461: Migration New Relic from REST v2 to NerdGraph (GraphQL)
1 parent 9685121 commit 7646ac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/NewRelicReporting/Console/Command/DeployMarker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(
4444
DeploymentsFactory $deploymentsFactory,
4545
ServiceShellUser $serviceShellUser,
4646
Config $config,
47-
string $name = null
47+
?string $name = null
4848
) {
4949
$this->deploymentsFactory = $deploymentsFactory;
5050
$this->serviceShellUser = $serviceShellUser;

app/code/Magento/NewRelicReporting/Test/Unit/Model/Observer/ReportSystemCacheFlushToNewRelicTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function testReportSystemCacheFlushToNewRelic()
127127
->willReturn($this->deploymentsModel);
128128
$this->deploymentsModel->expects($this->once())
129129
->method('setDeployment')
130-
->willReturnSelf();
130+
->willReturn(true);
131131

132132
$this->model->execute($eventObserver);
133133
}

0 commit comments

Comments
 (0)