File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
tests/ElasticApmTests/ComponentTests/Util Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,15 @@ protected function sendRequestToInstrumentedApp(TestProperties $testProperties):
39
39
{
40
40
$ this ->ensureMockApmServerRunning ();
41
41
$ this ->ensureAppCodeHostServerRunning ($ testProperties );
42
+ TestCase::assertNotNull ($ this ->appCodeHostServerPort );
43
+ TestCase::assertNotNull ($ this ->appCodeHostServerId );
42
44
43
45
($ loggerProxy = $ this ->logger ->ifDebugLevelEnabled (__LINE__ , __FUNCTION__ ))
44
46
&& $ loggerProxy ->log (
45
47
'Sending HTTP request ` ' . $ testProperties ->httpMethod . ' ' . $ testProperties ->uriPath . '\''
46
48
. ' to ' . DbgUtil::fqToShortClassName (BuiltinHttpServerAppCodeHost::class) . '... '
47
49
);
48
50
49
- /** @noinspection PhpUnhandledExceptionInspection */
50
- /** @phpstan-ignore-next-line - Call to static method ... on trait */
51
51
$ response = TestHttpClientUtil::sendHttpRequest (
52
52
$ this ->appCodeHostServerPort ,
53
53
$ this ->appCodeHostServerId ,
Original file line number Diff line number Diff line change @@ -108,8 +108,9 @@ protected function beforeLoopRun(LoopInterface $loop): void
108
108
{
109
109
}
110
110
111
- protected function shouldRequestHaveServerId (ServerRequestInterface $ request ): bool
112
- {
111
+ protected function shouldRequestHaveServerId (
112
+ /** @noinspection PhpUnusedParameterInspection */ ServerRequestInterface $ request
113
+ ): bool {
113
114
return true ;
114
115
}
115
116
You can’t perform that action at this time.
0 commit comments