Skip to content

Commit

Permalink
Try to fix tests on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jun 15, 2019
1 parent 97ce53b commit a969acd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/drupol/phptree/Exporter/GraphSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public function getMatchers(): array
},
];
}

public function it_can_generate_a_graph()
{
$tree = new ValueNode('root');
Expand All @@ -51,7 +52,7 @@ public function it_can_generate_a_graph()

$this
->export($tree)
->shouldHaveSameGraphImageFile($_SERVER['PWD'] . '/tests/fixtures/Exporter/GraphSpec1.png');
->shouldHaveSameGraphImageFile('tests/fixtures/Exporter/GraphSpec1.png');
}

public function it_is_initializable()
Expand Down

0 comments on commit a969acd

Please sign in to comment.