Bläddra i källkod

fixed json file tests

Robert Schönthal 12 år sedan
förälder
incheckning
e96e06946f
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      tests/Composer/Test/Json/JsonFileTest.php

+ 1 - 0
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());
         }
     }