Skip to content

Commit 5825cbf

Browse files
committed
Fix test
1 parent 8c6d3a8 commit 5825cbf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/LdapServiceProviderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public function test_logger_is_set_on_container_when_enabled()
2424

2525
public function test_cache_is_set_on_connection_when_enabled()
2626
{
27-
foreach (Container::getInstance()->all() as $connection) {
28-
$this->assertInstanceOf(Cache::class, $connection->getCache());
29-
}
27+
$this->assertInstanceOf(Cache::class, Container::getInstance()->get('default')->getCache());
3028
}
3129
}

0 commit comments

Comments
 (0)