Ver código fonte

fixed json file tests

Robert Schönthal 12 anos atrás
pai
commit
e96e06946f
1 arquivos alterados com 1 adições e 0 exclusões
  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());
         }
     }