We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a189abc + b3984e5 commit 6abdb4cCopy full SHA for 6abdb4c
src/Codeception/Module/Symfony.php
@@ -351,7 +351,6 @@ public function seeCurrentRouteIs($routeName, array $params = [])
351
$intersection = array_intersect_assoc($expected, $match);
352
353
$this->assertEquals($expected, $intersection);
354
-
355
}
356
357
/**
@@ -449,6 +448,11 @@ public function grabService($service)
449
448
*/
450
protected function getProfile()
451
{
+ $container = $this->_getContainer();
452
+ if (!$container->has('profiler')) {
453
+ return null;
454
+ }
455
+
456
$profiler = $this->grabService('profiler');
457
$response = $this->client->getResponse();
458
if (null === $response) {
0 commit comments