소스 검색

[TESTS] Zend_Crypt

Fixed called of method undefined.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23449 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon 15 년 전
부모
커밋
536c05fb8e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/Zend/Crypt/MathTest.php

+ 1 - 0
tests/Zend/Crypt/MathTest.php

@@ -47,6 +47,7 @@ class Zend_Crypt_MathTest extends PHPUnit_Framework_TestCase
             }
         }
 
+        $math   = new Zend_Crypt_Math();
         $higher = '155172898181473697471232257763715539915724801966915404479707795314057629378541917580651227423698188993727816152646631438561595825688188889951272158842675419950341258706556549803580104870537681476726513255747040765857479291291572334510643245094715007229621094194349783925984760375594985848253359305585439638443';
         $lower  = '155172898181473697471232257763715539915724801966915404479707795314057629378541917580651227423698188993727816152646631438561595825688188889951272158842675419950341258706556549803580104870537681476726513255747040765857479291291572334510643245094715007229621094194349783925984760375594985848253359305585439638442';
         $result = $math->rand($lower, $higher);