[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/tests/tests/auth/ -> login_API.php (source)

   1  <?php
   2  
   3  require_once ( 'login_base.php' );
   4  
   5  /**
   6   * Login tests - via API
   7   *
   8   * @group auth
   9   * @group login
  10   * @since 0.1
  11   */
  12  class Auth_Login_API_Tests extends Login_Base {
  13  
  14      public static function setUpBeforeClass(): void {
  15          yourls_add_filter( 'is_API', 'yourls_return_true' );
  16      }
  17  
  18      public static function tearDownAfterClass(): void {
  19          yourls_remove_filter( 'is_API', 'yourls_return_true' );
  20      }
  21  
  22  }


Generated: Tue Sep 27 05:10:01 2022 Cross-referenced by PHPXref 0.7.1