Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bidi47 committed Apr 8, 2024
1 parent 87682e3 commit d783ef2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/Factory/ContainerAbstractServiceFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public function testInstantiate(): void

$this->container->expects($this->once())
->method('get')
->with(ManagerInterface::class)
->willReturnMap([ManagerInterface::class]);
->willReturnMap([
[ManagerInterface::class => ManagerInterface::class]

Check failure on line 47 in test/Factory/ContainerAbstractServiceFactoryTest.php

View workflow job for this annotation

GitHub Actions / ci / QA Checks (PHPCodeSniffer [8.1, latest], ubuntu-latest, laminas/laminas-continuous-integration-ac...

Multi-line arrays must have a trailing comma after the last element
]);

$factory = (new ContainerAbstractServiceFactory())($this->container, 'dot-session.test');
$this->assertInstanceOf(Container::class, $factory);
Expand Down

0 comments on commit d783ef2

Please sign in to comment.