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.

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