Skip to content

Commit 4d6f9e3

Browse files
committed
Update tests.
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent d7c0def commit 4d6f9e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/Unit/ReaderTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ public function it_can_load_valid_xml_from_filesystem()
3131
$this->assertInstanceOf('\Orchestra\Parser\Xml\Document', $output);
3232
}
3333

34-
/**
35-
* @test
36-
* @expectedException \Laravie\Parser\InvalidContentException
37-
*/
34+
/** @test */
3835
public function it_throws_exception_when_given_invalid_xml_content()
3936
{
37+
$this->expectException('Laravie\Parser\InvalidContentException');
38+
4039
$xml = '<xml><foo>foobar<foo></xml>';
4140

4241
$stub = new Reader(new Document(new Container()));

0 commit comments

Comments
 (0)