[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

   1  <?php
   2  
   3  class GP_Test_Route extends GP_UnitTestCase_Route {
   4      public $route_class = 'GP_Route';
   5  
   6      function test_headers_for_download_function_includes_double_quote_around_file_name() {
   7          $this->route->headers_for_download( 'test.po' );
   8  
   9          $this->assertEquals( ' attachment; filename="test.po"', $this->route->headers['Content-Disposition'] );
  10      }
  11  }


Generated: Sun Dec 22 01:01:04 2024 Cross-referenced by PHPXref 0.7.1