mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-14 19:08:25 +00:00
test: Fix ConnectionManagerTest::testSourceList().
Co-authored-by: Kenshin Okinaka <okinakak@yahoo.co.jp>
This commit is contained in:
parent
bab8a84436
commit
1d6fd78d45
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class ConnectionManagerTest extends CakeTestCase {
|
|||
ConnectionManager::getDataSource('test');
|
||||
$sources = ConnectionManager::sourceList();
|
||||
$this->assertTrue(count($sources) >= 1);
|
||||
$this->assertTrue(in_array('test', array_keys($sources)));
|
||||
$this->assertContains('test', $sources);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue