Selaa lähdekoodia

fixed json file tests

Robert Schönthal 12 vuotta sitten
vanhempi
commit
e96e06946f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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());
         }
     }