[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/tests/phpunit/testcases/ -> test_locale.php (source)

   1  <?php
   2  
   3  class GP_Test_Locale extends GP_UnitTestCase {
   4  
   5      // Test if old property can be read when someone tries to read it.
   6  	function test_rtl_old() {
   7          $locale = $this->factory->locale->create();
   8          $locale->text_direction = 'rtl';
   9  
  10          $this->assertTrue( isset( $locale->rtl ) );
  11          $this->assertTrue( $locale->rtl );
  12      }
  13  
  14  
  15  }


Generated: Thu Mar 28 01:01:06 2024 Cross-referenced by PHPXref 0.7.1