[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * Need to find a better way to mock HTTP requests
   5   */
   6  /*class GP_Test_Requests extends GP_UnitTestCase_Request {
   7      function test_index() {
   8          $this->get( '/' );
   9          $this->assertRedirect();
  10      }
  11  
  12      function test_projects() {
  13          $this->get( '/projects' );
  14          $this->assertResponseContains( 'Projects' );
  15          $this->assertResponseNotContains( 'baba' );
  16      }
  17  }*/


Generated: Tue Apr 23 01:01:19 2024 Cross-referenced by PHPXref 0.7.1