Browse Source

fixed json file tests

Robert Schönthal 12 năm trước cách đây
mục cha
commit
e96e06946f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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());
         }
     }