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.
1 parent 8c6d3a8 commit 5825cbfCopy full SHA for 5825cbf
tests/LdapServiceProviderTest.php
@@ -24,8 +24,6 @@ public function test_logger_is_set_on_container_when_enabled()
24
25
public function test_cache_is_set_on_connection_when_enabled()
26
{
27
- foreach (Container::getInstance()->all() as $connection) {
28
- $this->assertInstanceOf(Cache::class, $connection->getCache());
29
- }
+ $this->assertInstanceOf(Cache::class, Container::getInstance()->get('default')->getCache());
30
}
31
0 commit comments