From e96e06946fce15ee60c529a13cd884537cb3f860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=B6nthal?= Date: Mon, 2 Jul 2012 15:13:56 +0200 Subject: [PATCH] fixed json file tests --- tests/Composer/Test/Json/JsonFileTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Composer/Test/Json/JsonFileTest.php b/tests/Composer/Test/Json/JsonFileTest.php index f918d538b..55bf603ea 100644 --- a/tests/Composer/Test/Json/JsonFileTest.php +++ b/tests/Composer/Test/Json/JsonFileTest.php @@ -200,6 +200,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase $this->fail(); } catch (JsonValidationException $e) { $this->assertContains($text, $e->getMessage()); + $this->assertNotEmpty($e->getErrors()); } }