Skip to content

Commit

Permalink
fix: phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhelias committed Apr 3, 2024
1 parent 9ed2add commit 9316e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"phpunit/phpunit": "^10.5 || ^11.0",
"symfony/browser-kit": "^5.4 || ^6.4 || ^7.0",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0"
},
Expand Down
6 changes: 1 addition & 5 deletions tests/Functional/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,14 @@ class FunctionalTest extends WebTestCase
{
protected ?KernelBrowser $client;

protected ?ContainerInterface $container;

protected function setUp() : void
{
$this->client = self::createClient();

$this->container = $this->client->getContainer();
}

public function testServiceWiring()
{
$service = $this->container->get(KernelEventSubscriber::class);
$service = self::getContainer()->get(KernelEventSubscriber::class);
self::assertInstanceOf(KernelEventSubscriber::class, $service);
}

Expand Down

0 comments on commit 9316e64

Please sign in to comment.