You are here

public function XliffFileLoaderTest::testLoadResourceDoesNotValidate in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\XliffFileLoaderTest::testLoadResourceDoesNotValidate()

@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException

File

vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php, line 88

Class

XliffFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadResourceDoesNotValidate() {
  $loader = new XliffFileLoader();
  $loader
    ->load(__DIR__ . '/../fixtures/non-valid.xlf', 'en', 'domain1');
}