Skip to content

Commit

Permalink
Fixup test detected by scrutinizer.
Browse files Browse the repository at this point in the history
Signed-off-by: Benoît Burnichon <bburnichon@gmail.com>
  • Loading branch information
bburnichon committed Jul 6, 2014
1 parent e3ddbd0 commit f200224
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testHasStreamWriter()
$fooWriter = $this->getMockBuilder('Ddeboer\DataImport\Writer\AbstractStreamWriter')
->getMockForAbstractClass();

$this->assertFalse($this->writer->hasStreamWriter('foo', 'no foo stream writer should be registered'));
$this->assertFalse($this->writer->hasStreamWriter('foo'), 'no foo stream writer should be registered');
$this->writer->setStreamWriter('foo', $fooWriter);
$this->assertTrue($this->writer->hasStreamWriter('foo'), 'foo stream writer should be registered');
}
Expand Down

0 comments on commit f200224

Please sign in to comment.