Skip to content

Commit

Permalink
Merge pull request #132 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
Fix a typo in ConfigurationFactoryTest
  • Loading branch information
Slamdunk authored Jul 10, 2024
2 parents ccbc2bc + 0af91a2 commit 075bb93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ConfigurationFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function testWillSetCacheItemPoolCaches(): void
self::assertInstanceOf(CacheConfiguration::class, $secondLevelCacheConfiguration);
$secondLevelCacheFactory = $secondLevelCacheConfiguration->getCacheFactory();
self::assertInstanceOf(DefaultCacheFactory::class, $secondLevelCacheFactory);
self::assertSame($resultCache, $this->exctractPropertyValue($secondLevelCacheFactory, 'cacheItemPool'));
self::assertSame($resultCache, $this->extractPropertyValue($secondLevelCacheFactory, 'cacheItemPool'));
}

public function testWillSetMiddlewares(): void
Expand Down Expand Up @@ -217,7 +217,7 @@ public function testMistypeInSchemaAssetsFilterResolvedContainerId(): void
}

/** @param non-empty-string $propertyName */
private function exctractPropertyValue(object $object, string $propertyName): mixed
private function extractPropertyValue(object $object, string $propertyName): mixed
{
return (new ReflectionProperty($object, $propertyName))->getValue($object);
}
Expand Down

0 comments on commit 075bb93

Please sign in to comment.