X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FTests%2FLoader%2FIniFileLoaderTest.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FTests%2FLoader%2FIniFileLoaderTest.php;h=d3c2dfc76fc5e176ffd65f1183c8fc599aa154fa;hp=736f75a112c87de1bd3836aad37a1d1796c01b1b;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/dependency-injection/Tests/Loader/IniFileLoaderTest.php b/vendor/symfony/dependency-injection/Tests/Loader/IniFileLoaderTest.php index 736f75a11..d3c2dfc76 100644 --- a/vendor/symfony/dependency-injection/Tests/Loader/IniFileLoaderTest.php +++ b/vendor/symfony/dependency-injection/Tests/Loader/IniFileLoaderTest.php @@ -51,7 +51,7 @@ class IniFileLoaderTest extends TestCase public function testTypeConversionsWithNativePhp($key, $value, $supported) { if (defined('HHVM_VERSION_ID')) { - return $this->markTestSkipped(); + $this->markTestSkipped(); } if (!$supported) { @@ -127,6 +127,7 @@ class IniFileLoaderTest extends TestCase $loader = new IniFileLoader(new ContainerBuilder(), new FileLocator()); $this->assertTrue($loader->supports('foo.ini'), '->supports() returns true if the resource is loadable'); - $this->assertFalse($loader->supports('foo.foo'), '->supports() returns true if the resource is loadable'); + $this->assertFalse($loader->supports('foo.foo'), '->supports() returns false if the resource is not loadable'); + $this->assertTrue($loader->supports('with_wrong_ext.yml', 'ini'), '->supports() returns true if the resource with forced type is loadable'); } }