Pārlūkot izejas kodu

fixed json file tests

Robert Schönthal 12 gadi atpakaļ
vecāks
revīzija
e96e06946f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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());
         }
     }