[ListActionTest] Fix broken test
This commit is contained in:
parent
fc8421ed50
commit
14e6dbb645
1 changed files with 4 additions and 1 deletions
|
@ -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'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue