Skip to content

Commit 126cfa9

Browse files
author
a.dmitryuk
committed
review
1 parent cc25b89 commit 126cfa9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/PantherTestCaseTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ protected static function createPantherClient(array $options = [], array $kernel
203203
}
204204
}
205205

206+
// @phpstan-ignore-next-line
206207
if (is_a(self::class, KernelTestCase::class, true)) {
207208
static::bootKernel($kernelOptions); // @phpstan-ignore-line
208209
}
@@ -247,6 +248,7 @@ protected static function createHttpBrowserClient(array $options = [], array $ke
247248
self::$httpBrowserClient = new HttpBrowserClient(HttpClient::create($httpClientOptions));
248249
}
249250

251+
// @phpstan-ignore-next-line
250252
if (is_a(self::class, KernelTestCase::class, true)) {
251253
static::bootKernel($kernelOptions); // @phpstan-ignore-line
252254
}

tests/ClientTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ public function testExecuteAsyncScript(): void
282282
const t = document.querySelector(parentArgs[0]).innerText;
283283
callback(t);
284284
}, 100, arguments);
285-
JS
286-
, ['.p-1']);
285+
JS, ['.p-1']);
287286

288287
$this->assertSame('P1', $innerText);
289288
}

0 commit comments

Comments
 (0)