瀏覽代碼

Zend_Pdf: Minor update for URI action support unit tests. ZF-8390.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19671 44c647ce-9c0f-0410-b52a-842ac1e357ba
alexander 16 年之前
父節點
當前提交
f171c3f8ba
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/Zend/Pdf/ActionTest.php

+ 2 - 0
tests/Zend/Pdf/ActionTest.php

@@ -107,6 +107,7 @@ class Zend_Pdf_ActionTest extends PHPUnit_Framework_TestCase
         $leafAction = new Zend_Pdf_Element_Dictionary();
         $leafAction = new Zend_Pdf_Element_Dictionary();
         $leafAction->Type = new Zend_Pdf_Element_Name('Action');
         $leafAction->Type = new Zend_Pdf_Element_Name('Action');
         $leafAction->S    = new Zend_Pdf_Element_Name('URI');
         $leafAction->S    = new Zend_Pdf_Element_Name('URI');
+        $leafAction->URI  = new Zend_Pdf_Element_Name('http://some_host/');
         $action2Dictionary->Next->items[] = $leafAction;
         $action2Dictionary->Next->items[] = $leafAction;
 
 
         $leafAction = new Zend_Pdf_Element_Dictionary();
         $leafAction = new Zend_Pdf_Element_Dictionary();
@@ -227,6 +228,7 @@ class Zend_Pdf_ActionTest extends PHPUnit_Framework_TestCase
         $leafAction = new Zend_Pdf_Element_Dictionary();
         $leafAction = new Zend_Pdf_Element_Dictionary();
         $leafAction->Type = new Zend_Pdf_Element_Name('Action');
         $leafAction->Type = new Zend_Pdf_Element_Name('Action');
         $leafAction->S    = new Zend_Pdf_Element_Name('URI');
         $leafAction->S    = new Zend_Pdf_Element_Name('URI');
+        $leafAction->URI  = new Zend_Pdf_Element_Name('http://some_host/');
         $action2Dictionary->Next->items[] = $leafAction;
         $action2Dictionary->Next->items[] = $leafAction;
 
 
         $leafAction = new Zend_Pdf_Element_Dictionary();
         $leafAction = new Zend_Pdf_Element_Dictionary();