We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7c0def commit 4d6f9e3Copy full SHA for 4d6f9e3
tests/Unit/ReaderTest.php
@@ -31,12 +31,11 @@ public function it_can_load_valid_xml_from_filesystem()
31
$this->assertInstanceOf('\Orchestra\Parser\Xml\Document', $output);
32
}
33
34
- /**
35
- * @test
36
- * @expectedException \Laravie\Parser\InvalidContentException
37
- */
+ /** @test */
38
public function it_throws_exception_when_given_invalid_xml_content()
39
{
+ $this->expectException('Laravie\Parser\InvalidContentException');
+
40
$xml = '<xml><foo>foobar<foo></xml>';
41
42
$stub = new Reader(new Document(new Container()));
0 commit comments