[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/tests/phpunit/testcases/core/ -> functions.php (source)

   1  <?php
   2  
   3  /**
   4   * Tests to test that that testing framework is testing tests. Meta, huh?
   5   *
   6   * @package wordpress-plugins-tests
   7   */
   8  class BBP_bbPress_Tests extends WP_UnitTestCase  {
   9  
  10      /**
  11       * Ensure that bbPress function exists
  12       */
  13  	function test_bbpress_exists() {
  14          $this->assertTrue( function_exists( 'bbpress' ) );
  15      }
  16  
  17      /**
  18       * Ensure that bbPress has been installed and activated.
  19       */
  20  	function test_plugin_activated() {
  21          $this->assertTrue( is_plugin_active( 'bbpress/bbpress.php' ) );
  22      }
  23  }


Generated: Wed Apr 24 01:00:58 2024 Cross-referenced by PHPXref 0.7.1