Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Feb 12, 2019
1 parent d7c0def commit 4d6f9e3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/Unit/ReaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ public function it_can_load_valid_xml_from_filesystem()
$this->assertInstanceOf('\Orchestra\Parser\Xml\Document', $output);
}

/**
* @test
* @expectedException \Laravie\Parser\InvalidContentException
*/
/** @test */
public function it_throws_exception_when_given_invalid_xml_content()
{
$this->expectException('Laravie\Parser\InvalidContentException');

$xml = '<xml><foo>foobar<foo></xml>';

$stub = new Reader(new Document(new Container()));
Expand Down

0 comments on commit 4d6f9e3

Please sign in to comment.