mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-23 18:01:22 +02:00
[ListActionTest] Fix broken test
This commit is contained in:
@@ -42,8 +42,11 @@ class ListActionTest extends TestCase {
|
|||||||
'Item count doesn\'t match'
|
'Item count doesn\'t match'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$bridgeFac = new BridgeFactory();
|
||||||
|
$bridgeFac->setWorkingDir(PATH_LIB_BRIDGES);
|
||||||
|
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
count(Bridge::getBridgeNames()),
|
count($bridgeFac->getBridgeNames()),
|
||||||
count($items['bridges']),
|
count($items['bridges']),
|
||||||
'Number of bridges doesn\'t match'
|
'Number of bridges doesn\'t match'
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user