Michel Salib 12 سال پیش
والد
کامیت
89d7581ebf
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Tests/Serializer/XmlSerializationTest.php

+ 2 - 2
Tests/Serializer/XmlSerializationTest.php

@@ -71,7 +71,7 @@ class XmlSerializationTest extends BaseSerializationTest
 
 
     /**
     /**
      * @expectedException \InvalidArgumentException
      * @expectedException \InvalidArgumentException
-     * @expectedExceptionMessage Document types are not allowed
+     * @expectedExceptionMessage The document type "<!DOCTYPE author [<!ENTITY foo SYSTEM "php://filter/read=convert.base64-encode/resource=XmlSerializationTest.php">]>" is not allowed. If it is safe, you may add it to the whitelist configuration.
      */
      */
     public function testExternalEntitiesAreDisabledByDefault()
     public function testExternalEntitiesAreDisabledByDefault()
     {
     {
@@ -86,7 +86,7 @@ class XmlSerializationTest extends BaseSerializationTest
 
 
     /**
     /**
      * @expectedException \InvalidArgumentException
      * @expectedException \InvalidArgumentException
-     * @expectedExceptionMessage Document types are not allowed
+     * @expectedExceptionMessage The document type "<!DOCTYPE foo>" is not allowed. If it is safe, you may add it to the whitelist configuration.
      */
      */
     public function testDocumentTypesAreNotAllowed()
     public function testDocumentTypesAreNotAllowed()
     {
     {