Przeglądaj źródła

Fixes some tests for Zend_Currency

Frank Brückner 12 lat temu
rodzic
commit
a9c191e8c1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      tests/Zend/CurrencyTest.php

+ 2 - 2
tests/Zend/CurrencyTest.php

@@ -282,8 +282,8 @@ class Zend_CurrencyTest extends PHPUnit_Framework_TestCase
         $this->assertSame('$ ٥٣.٢٩٢,١٨', $USD->toCurrency(53292.18, array('script' => 'Arab', 'format' => 'de_AT')));
         $this->assertSame('$ 53.292,18', $USD->toCurrency(53292.18, array('format' => 'de_AT')));
 
-        $this->assertSame('53292٫18', $EGP->toCurrency(53292.18));
-        $this->assertSame('٥٣٢٩٢٫١٨', $EGP->toCurrency(53292.18, array('script' => 'Arab' )));
+        $this->assertSame('ج.م.‏ 53٬292٫18', $EGP->toCurrency(53292.18));
+        $this->assertSame('ج.م.‏ ٥٣٬٢٩٢٫١٨', $EGP->toCurrency(53292.18, array('script' => 'Arab')));
         $this->assertSame('ج.م.‏ ٥٣.٢٩٢,١٨', $EGP->toCurrency(53292.18, array('script' =>'Arab', 'format' => 'de_AT')));
         $this->assertSame('ج.م.‏ 53.292,18', $EGP->toCurrency(53292.18, array('format' => 'de_AT')));