Skip to content

Commit

Permalink
Update expectations for new graph API
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Sep 11, 2013
1 parent 8f1eefe commit c8f6721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/GraphComposerTest.php
Expand Up @@ -7,11 +7,11 @@ class GraphTest extends PHPUnit_Framework_TestCase
public function testCreateGraph()
{
$dir = __DIR__ . '/../';

$graphComposer = new Clue\GraphComposer($dir);
$graph = $graphComposer->createGraph();

$this->assertInstanceOf('Fhaculty\Graph\Graph', $graph);
$this->assertTrue($graph->getNumberOfVertices() > 0);
$this->assertTrue(count($graph->getVertices()) > 0);
}
}

0 comments on commit c8f6721

Please sign in to comment.