You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Userinfo.php 453B

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