Skip to content

Commit

Permalink
[ListActionTest] Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
logmanoriginal committed Jun 18, 2019
1 parent fc8421e commit 14e6dbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/ListActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ public function testOutput() {
'Item count doesn\'t match'
);

$bridgeFac = new BridgeFactory();
$bridgeFac->setWorkingDir(PATH_LIB_BRIDGES);

$this->assertEquals(
count(Bridge::getBridgeNames()),
count($bridgeFac->getBridgeNames()),
count($items['bridges']),
'Number of bridges doesn\'t match'
);
Expand Down

0 comments on commit 14e6dbb

Please sign in to comment.