您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Autologon.php 457B

1234567891011121314151617181920212223
  1. <?php
  2. class Autologon_Plugin extends PHPUnit_Framework_TestCase
  3. {
  4. function setUp()
  5. {
  6. include_once __DIR__ . '/../autologon.php';
  7. }
  8. /**
  9. * Plugin object construction test
  10. */
  11. function test_constructor()
  12. {
  13. $rcube = rcube::get_instance();
  14. $plugin = new autologon($rcube->api);
  15. $this->assertInstanceOf('autologon', $plugin);
  16. $this->assertInstanceOf('rcube_plugin', $plugin);
  17. }
  18. }